-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
48 lines (46 loc) · 1 KB
/
docker-compose.yaml
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
version: "3.9"
services:
mssql:
environment:
- SA_PASSWORD=${MSSQL_PWD}
- ACCEPT_EULA=Y
build:
context: .
dockerfile: mssql.Dockerfile
args:
SA_PASSWORD: ${MSSQL_PWD}
ACCEPT_EULA: Y
user: root
ports:
- "1433:1433"
pgsql:
environment:
- POSTGRES_DB=${PGSQL_DB}
- POSTGRES_USER=${PGSQL_UID}
- POSTGRES_PASSWORD=${PGSQL_PWD}
build:
context: .
dockerfile: pg.Dockerfile
ports:
- "5432:5432"
pyspawn:
environment:
- PYTHONHASHSEED=0
- PGSQL_HOST=pgsql
- PGSQL_DB=${PGSQL_DB}
- PGSQL_UID=${PGSQL_UID}
- PGSQL_PWD=${PGSQL_PWD}
- MSSQL_HOST=mssql
- MSSQL_DB=${MSSQL_DB}
- MSSQL_UID=${MSSQL_UID}
- MSSQL_PWD=${MSSQL_PWD}
build:
context: .
dockerfile: Dockerfile
args:
- PYTHON_IMAGE_NAME=${PYTHON_IMAGE_NAME}
depends_on:
mssql:
condition: service_started
pgsql:
condition: service_healthy