-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
57 lines (53 loc) · 1.14 KB
/
docker-compose.dev.yml
File metadata and controls
57 lines (53 loc) · 1.14 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
services:
db:
image: postgres:17-alpine
container_name: fastprod-postgre-sql
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: fastprod
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- fastprod
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
test-db:
image: postgres:17-alpine
container_name: fastprod-postgre-sql-test
restart: always
ports:
- "5433:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: fastprod_test
networks:
- fastprod
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
mail-dev:
image: maildev/maildev:latest
container_name: fastprod-mail-dev
restart: always
ports:
- "1025:1025"
- "1080:1080"
networks:
- fastprod
networks:
fastprod:
driver: bridge
volumes:
postgres-data: