forked from MTES-MCT/dossierfacile-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
54 lines (51 loc) · 1.23 KB
/
docker-compose.dev.yml
File metadata and controls
54 lines (51 loc) · 1.23 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
services:
nginx:
image: nginx:latest
container_name: dossierfacile_reverse_proxy
ports:
- "80:80"
- "443:443"
volumes:
- ./.nginx/nginx.conf:/etc/nginx/nginx.conf
- ./.nginx/certs:/etc/nginx/certs
restart: unless-stopped
networks:
- dossierfacile_network
postgres:
image: postgres:12
container_name: dossierfacile_postgres_db
hostname: localhost
environment:
POSTGRES_USER: dossierfacile
POSTGRES_PASSWORD: your_very_secure_password
POSTGRES_DB: dossierfacile
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U dossierfacile" ]
interval: 10s
timeout: 5s
retries: 5
networks:
- dossierfacile_network
rabbitmq:
container_name: 'dossierfacile_rabbit'
image: 'rabbitmq:3-management'
hostname: localhost
ports:
- '5672:5672'
- '15672:15672'
volumes:
- ./.rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
restart: unless-stopped
networks:
- dossierfacile_network
volumes:
postgres_data:
driver: local
networks:
dossierfacile_network:
driver: bridge