-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (48 loc) · 1 KB
/
docker-compose.yml
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
version: '3.9'
services:
rest_db:
container_name: rest-pg-db
restart: unless-stopped
build:
context: .
dockerfile: dockerfile/Dockerfile.postgres
ports:
- "5433:5432"
env_file:
- docker.env
volumes:
- rest-pg-data:/var/lib/postgresql/data
networks:
- rest-network
rest_server:
container_name: rest-server
restart: unless-stopped
build:
context: .
dockerfile: dockerfile/Dockerfile.nodejs.dev
volumes:
- ./src:/app
- /app/node_modules
ports:
- "3000:3000"
depends_on:
- rest_db
networks:
- rest-network
rest_redis:
container_name: rest-redis-server
restart: unless-stopped
build:
context: .
dockerfile: dockerfile/Dockerfile.redis-server
ports:
- "6379:6379"
networks:
- rest-network
volumes:
rest-pg-data:
networks:
rest-network:
driver: bridge
bondflix-soap-service_soap-network:
external: true