-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (47 loc) · 837 Bytes
/
docker-compose.yml
File metadata and controls
51 lines (47 loc) · 837 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
46
47
48
49
50
51
services:
db:
image: postgres:11.4
container_name: db-character
ports:
- "5432:5432"
env_file:
- .env
volumes:
- psql:/var/lib/postgresql/data/
environment:
- PGTZ=America/Argentina/Buenos_Aires
networks:
- characters
rabbitmq:
image: rabbitmq:4.0-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
env_file:
- .env
networks:
- characters
character:
build:
context: ./
dockerfile: Dockerfile
container_name: api-character
volumes:
- .:/app
ports:
- "8000:8000"
env_file:
- .env
networks:
- characters
depends_on:
- db
- rabbitmq
networks:
characters:
name: characters
external: true
volumes:
psql:
driver: local