-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-docker-compose.yml
70 lines (69 loc) · 1.61 KB
/
test-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
version: "3.9"
services:
frontend:
build: FRONTEND/.
restart: unless-stopped
frontend-v2:
build: FRONTEND_V2/.
restart: unless-stopped
backend:
build: BACKEND/.
environment:
CHECKER_PORT: 7070
DB_HOST: postgres
DB_USERNAME: "postgres"
DB_PASSWORD: "admin"
DB_NAME: "cb"
HASH_SALT: 4a5ecb2c236d1c4c3e670fcc76b8d1566c94d096bcf5f700511bb039507ad518
REDIS_HOST: redis
ADMIN_LOGIN: adminnn23
ADMIN_PASSWORD: goodprog
PYTHONUNBUFFERED: TRUE
depends_on:
postgres:
condition: service_healthy
links:
- postgres
restart: unless-stopped
redis:
image: redis:alpine3.18
restart: unless-stopped
postgres:
image: postgres:13.3-alpine
environment:
POSTGRES_DB: "cb"
POSTGRES_USER: "postgres"
PGUSER: "postgres"
POSTGRES_PASSWORD: "admin"
healthcheck:
test: [ "CMD-SHELL", "pg_isready", "-U", "postgres", "-d", "cb" ]
interval: 2s
timeout: 2s
restart: unless-stopped
gateway:
build: GATEWAY/.
ports:
- "2500:80"
depends_on:
- frontend
- backend
restart: unless-stopped
init_configurer:
build: INIT_CONFIGURER/.
environment:
DB_HOST: postgres
DB_USERNAME: "postgres"
DB_PASSWORD: "admin"
DB_NAME: "cb"
links:
- backend
- postgres
restart: unless-stopped
checker-java:
build:
dockerfile: z_checkers_dockerfiles/Java.Dockerfile
restart: unless-stopped
checker-python:
build:
dockerfile: z_checkers_dockerfiles/Python.Dockerfile
restart: unless-stopped