-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
109 lines (102 loc) · 2.94 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: '3'
services:
selenium:
container_name: datacats-selenium
image: selenium/standalone-firefox
restart: always
shm_size: "2gb" # Required < tmpfs
networks:
- datacats-network
db:
container_name: datacats-psql
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ${DATACATS_PSQL_PASS}
POSTGRES_DB: datacats
volumes:
- ./docker/postgres:/var/lib/postgresql/data
ports:
- "6961:5432" #! Testing only!
networks:
- datacats-network
pgadmin:
container_name: datacats_pgadmin
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: ${DATACATS_PGADMIN_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${DATACATS_PGADMIN_PASSWORD}
PGADMIN_LISTEN_ADDRESS: 0.0.0.0
volumes:
- ./docker/pgadmin:/var/lib/pgadmin
ports:
- "23434:80"
networks:
- datacats-network
backend-api:
container_name: datacats-backend-api
build:
context: ./src/backend
dockerfile: ./Dockerfile.api
image: moretech2022-datacats-backend-api
restart: always
environment: #DATACATS_API_PASSWORD: abcde is not implemented
DATACATS_LOGGING_LEVEL: ${DATACATS_LOGGING_LEVEL}
DATACATS_PSQL_USER: ${DATACATS_PSQL_USER}
DATACATS_PSQL_PASS: ${DATACATS_PSQL_PASS}
DATACATS_PSQL_HOST: ${DATACATS_PSQL_HOST}
DATACATS_PSQL_PORT: ${DATACATS_PSQL_PORT}
volumes:
- ./docker/backend:/data
ports:
- "23432:80"
networks:
- datacats-network
depends_on:
- db
backend-parser:
container_name: datacats-backend-parser
build:
context: ./src/backend
dockerfile: ./Dockerfile.parser
image: moretech2022-datacats-backend-parser
restart: always
environment: #DATACATS_API_PASSWORD: abcde is not implemented
DATACATS_LOGGING_LEVEL: ${DATACATS_LOGGING_LEVEL}
DATACATS_PSQL_USER: ${DATACATS_PSQL_USER}
DATACATS_PSQL_PASS: ${DATACATS_PSQL_PASS}
DATACATS_PSQL_HOST: ${DATACATS_PSQL_HOST}
DATACATS_PSQL_PORT: ${DATACATS_PSQL_PORT}
DATACATS_SELENIUM_DOMAIN: ${DATACATS_SELENIUM_DOMAIN}
DATACATS_SELENIUM_PORT: ${DATACATS_SELENIUM_PORT}
volumes:
- ./docker/backend:/data
ports:
- "23433:80" # Persist until a scheduler is live
networks:
- datacats-network
depends_on:
- db
neuralnet:
container_name: datacats-neuralnet
build:
context: ./src/neuralnet
image: moretech2022-datacats-neuralnet
restart: always
environment:
DATACATS_NN_DATASET_PATH: ${DATACATS_NN_DATASET_PATH}
DATACATS_NN_DESC_DIRECTOR_PATH: ${DATACATS_NN_DESC_DIRECTOR_PATH}
DATACATS_NN_DESC_ACCOUNTANT_PATH: ${DATACATS_NN_DESC_ACCOUNTANT_PATH}
volumes:
- ./docker/neuralnet:/data
ports:
- "23432:80"
networks:
- datacats-network
depends_on:
- backend-api
networks:
datacats-network:
name: datacats-network