forked from techx/quill
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (50 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
56 lines (50 loc) · 1.11 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
version: "3"
services:
proxy:
image: nginx:alpine
ports:
- 8080:8080
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
networks:
quill_network:
ipv4_address: 172.51.0.2
node:
image: node:latest
volumes:
- .:/app
working_dir: /app
command: yarn start
networks:
quill_network:
ipv4_address: 172.51.0.3
mongo:
image: mongo:latest
# we don't care about the data, docker-compose down will prune it instead
networks:
quill_network:
ipv4_address: 172.51.0.4
mongo_express:
image: mongo-express:latest
ports:
- 8082:8081
environment:
- ME_CONFIG_MONGODB_SERVER=mongo
- ME_CONFIG_MONGODB_AUTH_DATABASE=quill
- ME_CONFIG_MONGODB_AUTH_USERNAME=user
- ME_CONFIG_MONGODB_AUTH_PASSWORD=password
networks:
quill_network:
ipv4_address: 172.51.0.5
smtp:
image: djfarrelly/maildev
ports:
- 8081:80
networks:
quill_network:
ipv4_address: 172.51.0.6
networks:
quill_network:
ipam:
config:
- subnet: 172.51.0.0/24