-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
55 lines (52 loc) · 1.47 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
version: "3"
services:
db:
image: mysql:8.4
ports:
- '3306:3306'
environment:
MYSQL_DATABASE: "${DB_NAME}"
# MYSQL_USER: 'root'
MYSQL_PASSWORD: "${DB_PASSWORD}"
MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
MYSQL_HOST: ''
networks:
- openlxp
app:
container_name: openlxp-xds
build:
context: .
ports:
- "8100:8020"
command: >
sh -c ". /opt/app/start-app.sh"
environment:
DB_NAME: "${DB_NAME}"
DB_USER: "${DB_USER}"
DB_PASSWORD: "${DB_PASSWORD}"
DB_HOST: "${DB_HOST}"
DJANGO_SUPERUSER_USERNAME: "${DJANGO_SUPERUSER_USERNAME}"
DJANGO_SUPERUSER_PASSWORD: "${DJANGO_SUPERUSER_PASSWORD}"
DJANGO_SUPERUSER_EMAIL: "${DJANGO_SUPERUSER_EMAIL}"
AWS_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}"
AWS_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}"
AWS_DEFAULT_REGION: "${AWS_DEFAULT_REGION}"
REQUESTS_CA_BUNDLE: '/etc/ssl/certs/ca-certificates.crt'
AWS_CA_BUNDLE: '/etc/ssl/certs/ca-certificates.crt'
SECRET_KEY_VAL: "${SECRET_KEY_VAL}"
LOG_PATH: "${LOG_PATH}"
ENTITY_ID: "${ENTITY_ID}"
SP_PUBLIC_CERT: "${SP_PUBLIC_CERT}"
SP_PRIVATE_KEY: "${SP_PRIVATE_KEY}"
BAD_HOST: "${BAD_HOST}"
OVERIDE_HOST: "${OVERIDE_HOST}"
LOGIN_REDIRECT_URL: "${LOGIN_REDIRECT_URL}"
volumes:
- ./app:/opt/app/openlxp-xds
depends_on:
- db
networks:
- openlxp
networks:
openlxp:
external: true