-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
107 lines (100 loc) · 3.35 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
services:
app:
build: ./
volumes:
- ./application:/data
env_file:
- ./local.env
broker:
image: silintl/idp-id-broker:develop
platform: linux/amd64
environment:
API_ACCESS_KEYS: local-sync-123
EMAIL_SERVICE_accessToken: dummy
EMAIL_SERVICE_assertValidIp: "false"
EMAIL_SERVICE_baseUrl: http://email
EMAIL_SERVICE_validIpRanges: 10.20.40.0/24
EMAIL_SIGNATURE: Dummy Signature for Local Development
EMAILER_CLASS: \Sil\SilIdBroker\Behat\Context\fakes\FakeEmailer
IDP_NAME: local
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_HOST: brokerdb
MYSQL_DATABASE: broker
MYSQL_USER: broker
MYSQL_PASSWORD: broker
PASSWORD_FORGOT_URL: https://www.example.com/forgot
PASSWORD_PROFILE_URL: https://www.example.com/profile
SUPPORT_EMAIL: [email protected]
MFA_TOTP_apiBaseUrl: not_needed_here
MFA_TOTP_apiKey: not_needed_here
MFA_TOTP_apiSecret: not_needed_here
MFA_WEBAUTHN_apiBaseUrl: not_needed_here
MFA_WEBAUTHN_apiKey: not_needed_here
MFA_WEBAUTHN_apiSecret: not_needed_here
ports:
- "8081:80"
command: whenavail brokerdb 3306 60 ./run.sh
brokercron:
image: silintl/idp-id-broker:develop
platform: linux/amd64
environment:
API_ACCESS_KEYS: local-sync-123
EMAIL_SERVICE_accessToken: dummy
EMAIL_SERVICE_assertValidIp: "false"
EMAIL_SERVICE_baseUrl: http://email
EMAIL_SERVICE_validIpRanges: 10.20.40.0/24
EMAILER_CLASS: \Sil\SilIdBroker\Behat\Context\fakes\FakeEmailer
IDP_NAME: local
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_HOST: brokerdb
MYSQL_DATABASE: broker
MYSQL_USER: broker
MYSQL_PASSWORD: broker
RUN_TASK: cron/all
MFA_TOTP_apiBaseUrl: not_needed_here
MFA_TOTP_apiKey: not_needed_here
MFA_TOTP_apiSecret: not_needed_here
MFA_WEBAUTHN_apiBaseUrl: not_needed_here
MFA_WEBAUTHN_apiKey: not_needed_here
MFA_WEBAUTHN_apiSecret: not_needed_here
command: whenavail brokerdb 3306 60 ./run.sh
brokerdb:
image: mariadb:10
ports:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: rootpass
MYSQL_DATABASE: broker
MYSQL_USER: broker
MYSQL_PASSWORD: broker
phpmyadmin:
image: phpmyadmin:5
ports:
- "8001:80"
depends_on:
- brokerdb
environment:
PMA_HOST: brokerdb
cli:
build: ./
volumes:
- ${COMPOSER_CACHE_DIR}:/composer
- ./application:/data
working_dir: /data
env_file:
- ./local.env
environment:
ID_BROKER_CONFIG_accessToken: local-sync-123
ID_BROKER_CONFIG_assertValidIp: "false"
COMPOSER_CACHE_DIR: /composer
command: ["true"]
ports:
- "22:22"
networks:
default:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.20.40.0/24
gateway: 10.20.40.1