-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.override.yml
53 lines (50 loc) · 2.01 KB
/
docker-compose.override.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
services:
dmss:
build:
target: development
image: datamodelingtool.azurecr.io/dmss:dev
volumes:
- ./src:/code/src
environment:
SECRET_KEY: sg9aeUM5i1JO4gNN8fQadokJa3_gXQMLBjSGGYcfscs= # Don't reuse this in production...
ENVIRONMENT: local
LOGGING_LEVEL: debug
MONGO_PASSWORD: maf
AUTH_ENABLED: "False"
#AUTH_ENABLED: "True"
OAUTH_TOKEN_ENDPOINT: https://login.microsoftonline.com/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/oauth2/v2.0/token #http://localhost:8080/auth/realms/dmss/protocol/openid-connect/token
OAUTH_AUTH_ENDPOINT: https://login.microsoftonline.com/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/oauth2/v2.0/authorize # http://localhost:8080/auth/realms/dmss/protocol/openid-connect/auth
OAUTH_WELL_KNOWN: https://login.microsoftonline.com/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/v2.0/.well-known/openid-configuration # http://localhost:8080/auth/realms/dmss/.well-known/openid-configuration
AUTH_AUDIENCE: 97a6b5bd-63fb-42c6-bb75-7e5de2394ba0 #if using azure ad, audience is the azure client id
OAUTH_CLIENT_ID: 97a6b5bd-63fb-42c6-bb75-7e5de2394ba0
OAUTH_CLIENT_SECRET: ${OAUTH_CLIENT_SECRET}
OAUTH_AUTH_SCOPE: api://97a6b5bd-63fb-42c6-bb75-7e5de2394ba0/dmss
AAD_ENTERPRISE_APP_OID: b9041025-05f0-44d4-89a7-3b5f955c0de5
AUTH_PROVIDER_FOR_ROLE_CHECK:
OTEL_SERVICE_NAME: "DMSS - local"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "dmss"
ports:
- "5000:5000"
db:
volumes:
- ./data/mongo:/data/db
db_postgres:
volumes:
- ./data/postgres:/var/lib/postgresql/data
adminer: # Database inspector
image: adminer
restart: always
ports:
- 8080:8080
# db-ui:
# image: mongo-express:1.0.0-alpha
# restart: unless-stopped
# ports:
# - "8082:8081"
# environment:
# ME_CONFIG_MONGODB_SERVER: db
# ME_CONFIG_MONGODB_ADMINUSERNAME: maf
# ME_CONFIG_MONGODB_ADMINPASSWORD: maf
# ME_CONFIG_MONGODB_ENABLE_ADMIN: "true"