-
-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathcompose.dev.yml
More file actions
45 lines (43 loc) · 735 Bytes
/
compose.dev.yml
File metadata and controls
45 lines (43 loc) · 735 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
services:
db:
image: postgres:15
ports:
- 5432:5432
volumes:
- "claper-db:/var/lib/postgresql/data"
healthcheck:
test:
- CMD
- pg_isready
- "-q"
- "-d"
- "claper"
- "-U"
- "claper"
retries: 3
timeout: 5s
environment:
POSTGRES_PASSWORD: claper
POSTGRES_USER: claper
POSTGRES_DB: claper
networks:
- claper-dev
app:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- 4000:4000
volumes:
- ".:/app"
env_file: .env
depends_on:
- db
networks:
- claper-dev
volumes:
claper-db:
driver: local
networks:
claper-dev:
driver: bridge