-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1.02 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
version: '3'
services:
application:
image: royvandewater/trading-post:v6.4.0
env_file: './config/trading-post.env'
deploy:
replicas: 2
resources:
limits:
memory: 10M
labels:
- traefik.docker.network=trading-post
- traefik.frontend.rule=Host:trading-post.club
- traefik.frontend.entryPoints=http,https
- traefik.port=80
networks:
- trading-post
mongo:
image: mongo
deploy:
resources:
limits:
memory: 100M
volumes:
- ./config/mongo-data:/data/db
networks:
- trading-post
traefik:
image: traefik
deploy:
resources:
limits:
memory: 30M
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config/traefik/traefik.toml:/etc/traefik/traefik.toml
- ./config/traefik/acme.json:/etc/traefik/acme/acme.json
ports:
- "80:80"
- "443:443"
- "8080:8080"
- "8181:8181"
networks:
- trading-post
networks:
trading-post: