-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 928 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 928 Bytes
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
services:
db:
container_name: postgres
image: postgres:15.2
environment:
POSTGRES_USER: quickcheck
POSTGRES_PASSWORD: password
PGDATA: /data/postgres
volumes:
- db:/data/postgres
ports:
- "5333:5432"
networks:
- db
restart: unless-stopped
quickcheck-api:
container_name: quickcheck-api
image: armine27/quickcheck-api
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://db:5432/quickcheck
ports:
- "8088:8080"
networks:
- db
depends_on:
- db
restart: unless-stopped
quickcheck-react:
container_name: quickcheck-react
image: armine27/quickcheck-react
build:
context: frontend/react
args:
api_base_url: http://localhost:8088
ports:
- "3000:5173"
depends_on:
- quickcheck-api
restart: unless-stopped
networks:
db:
driver: bridge
volumes:
db: