-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
52 lines (50 loc) · 1.45 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
version: '3'
services:
picsureauth:
build:
context: pic-sure-auth-services
dockerfile: Dockerfile
command: --debug *:8787
depends_on:
- picsureauthdb
environment:
- AUTH_CLIENT_SECRET=${AUTH_CLIENT_SECRET:-secret}
- AUTH_CLIENT_ID=${AUTH_CLIENT_ID:-client_id}
- AUTH_USER_ID_CLAIM=sub
- AUTH_MYSQLADDRESS=picsureauthdb
- AUTH0TOKEN=${AUTH0TOKEN:-nothing}
- AUTH0HOST=https://avillachlab.auth0.com
- systemName=${systemName:-PICSURE}
- EMAIL_TEMPLATE_PATH=${EMAIL_TEMPLATE_PATH:-/opt/jboss/wildfly/emailTemplates}/
- DENIED_EMAIL_ENABLED=${DENIED_EMAIL_ENABLED:-false}
- COMMA_SEPARATED_EMAILS=${COMMA_SEPARATED_EMAILS:-dummyemail}
- accessGrantEmailSubject=Testing
- MAIL_USERNAME=${MAIL_USERNAME:[email protected]}
- MAIL_PASSWORD=${MAIL_PASSWORD:-email_password}
- TOS_ENABLED:false
ports:
- 8787:8787
expose:
- 8080
volumes:
- ./pic-sure-auth-services/src/main/resources/emailTemplates:${EMAIL_TEMPLATE_PATH:-/opt/jboss/wildfly/emailTemplates}
networks:
- public
env_file:
- .env
picsureauthdb:
build:
context: pic-sure-auth-db
dockerfile: Dockerfile
environment:
- MYSQL_ROOT_PASSWORD=${AUTH_MYSQL_ROOT_PASSWORD:-password}
- MYSQL_DATABASE=auth
restart: always
expose:
- 3306
ports:
- 3306:3306
networks:
- public
networks:
public: