-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-back.yml
More file actions
46 lines (44 loc) · 1.01 KB
/
docker-compose-back.yml
File metadata and controls
46 lines (44 loc) · 1.01 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
services:
webapp:
build:
context: .
dockerfile: Webapp/Dockerfile
container_name: purchase-requests-app
# pull_policy: always
# restart: unless-stopped
expose:
- 8080
ports:
- "80:8080"
environment:
- MONGODB_URL=mongodb://10.5.0.12:27017
volumes:
- C:/Users/aelmendo/Documents/PR_Volume/Files:/purchase_requests
labels:
- "com.centurylinklabs.watchtower.enable=true"
depends_on:
- filestorage
networks:
station_net:
ipv4_address: 10.5.0.11
mongodb:
image: mongo:latest
container_name: mongodb
pull_policy: always
restart: unless-stopped
ports:
- "27017:27017"
volumes:
- C:/Users/aelmendo/Documents/PR_Volume/db:/data/db
labels:
- "com.centurylinklabs.watchtower.enable=false"
networks:
station_net:
ipv4_address: 10.5.0.12
networks:
station_net:
driver: bridge
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1