-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.docker-compose.yml
More file actions
63 lines (62 loc) · 1.34 KB
/
dev.docker-compose.yml
File metadata and controls
63 lines (62 loc) · 1.34 KB
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
services:
syner-client:
container_name: syner-client
networks:
- host-bridge
build:
context: .
dockerfile: ./docker/dev/Dockerfile.client
ports:
- 5173:5173
env_file:
- .env
develop:
watch:
- action: sync
path: ./apps/client
target: /usr/src/app/apps/client
ignore:
- node_modules
- action: rebuild
path: ./apps/client/package.json
restart: unless-stopped
depends_on:
- syner-server
syner-server:
networks:
- host-bridge
container_name: syner-server
build:
context: .
dockerfile: ./docker/dev/Dockerfile.server
ports:
- 1209:1209
develop:
watch:
- action: sync
path: ./apps/server
target: /usr/src/app/apps/server
ignore:
- node_modules
- action: rebuild
path: ./apps/server/package.json
restart: unless-stopped
depends_on:
- syner-db
env_file:
- .env
syner-db:
networks:
- host-bridge
container_name: syner-db
image: postgres:15.4-alpine
restart: unless-stopped
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD-password}
volumes:
- ./db/data:/var/lib/postgresql/data
ports:
- 5434:5432
networks:
host-bridge:
driver: bridge