-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.testing.yml
81 lines (76 loc) · 2.36 KB
/
docker-compose.testing.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
version: '3'
services:
selenium-testing:
container_name: datacats-selenium-testing
image: selenium/standalone-firefox
restart: always
environment:
SE_NODE_MAX_SESSIONS: 5
ports:
- "23436:4444" # API and web UI
- "7900:7900" # VNC
shm_size: "2gb" # Required < tmpfs
db-testing:
container_name: datacats-psql-testing
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: ${DATACATS_PSQL_PASS}
POSTGRES_DB: datacats
volumes:
- ./docker/postgres-testing:/data/postgres
ports:
- "23443:5432"
pgadmin-testing:
container_name: datacats_pgadmin-testing
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-testing:/var/lib/pgadmin
ports:
- "23442:80"
backend-api-testing:
container_name: datacats-backend-api-testing
build:
context: ./src/backend
dockerfile: ./Dockerfile.api
image: moretech2022-datacats-backend-api-testing
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-testing:/data
ports:
- "23440:80"
depends_on:
- db
backend-parser-testing:
container_name: datacats-backend-parser-testing
build:
context: ./src/backend
dockerfile: ./Dockerfile.parser
image: moretech2022-datacats-backend-parser-testing
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-testing:/data
ports:
- "23441:80"
depends_on:
- db