-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (44 loc) · 1.13 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
services:
zess-db:
image: postgres:alpine3.20
environment:
- POSTGRES_PASSWORD=zess
- POSTGRES_USER=zess
- POSTGRES_DB=zess
volumes:
- db-data:/var/lib/postgresql/data
ports:
- 5432:5432
extra_hosts:
- "host.docker.internal:host-gateway"
zess-backend:
env_file: "vingo/.env"
environment:
- CARGO_BUILD_TARGET_DIR=/target
build:
context: vingo
dockerfile: Dockerfile.dev
ports:
- 4000:4000
volumes:
- ./vingo:/backend
- backend-target:/target
extra_hosts:
- "host.docker.internal:host-gateway"
stop_grace_period: 1s
depends_on:
- zess-db
zess-frontend:
build:
context: vinvoor
dockerfile: Dockerfile.dev
user: ${CURRENT_UID}
ports:
- 5173:5173
volumes:
- ./vinvoor:/frontend
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
backend-target:
db-data: