-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
61 lines (57 loc) · 1.4 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
services:
core_services:
build:
context: ./docker
dockerfile: ./core_services.dockerfile
depends_on:
- mysql
- mailhog
networks:
- all
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: password
networks:
- all
mailhog:
image: mailhog/mailhog
ports:
- "1025:1025"
- "8025:8025"
networks:
- all
elemental:
build:
context: ./src
dockerfile: ../docker/core.dockerfile
environment:
MYSQL_CONNECTION_STRING: "mysql://root:password@mysql:3306/db"
INITIAL_CLIENT_ID: admin
INITIAL_CLIENT_SECRET: admin-secret
INITIAL_CLIENT_SCOPES: "openid roles offline_access"
INITIAL_CLIENT_AUTH_REDIRECT: http://admin.elementalsystem.org/auth
INITIAL_CLIENT_LOGOUT_REDIRECT: http://admin.elementalsystem.org
INITIAL_ROLES: "system_admin"
INITIAL_USER_USERNAME: [email protected]
INITIAL_USER_PASSWORD: Password1!
INITIAL_USER_ROLE: system_admin
ADMIN_CLIENT_ID: admin
ADMIN_CLIENT_SECRET: admin-secret
SMTP_HOST: "localhost"
SMTP_PORT: 1025
SMTP_USERNAME: ""
SMTP_PASSWORD: ""
SMTP_PROTOCOL: "smtp"
ports:
- 80:80
depends_on:
- mysql
- mailhog
networks:
- all
networks:
all: