-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
70 lines (70 loc) · 1.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3"
services:
engine:
restart: always
# build: .
image: marcosav/recommender-store-engine
container_name: recommender-store-engine
depends_on:
- mongo
ports:
- "8080:80"
env_file:
- engine.env
client-feedback:
restart: always
# build: .
image: marcosav/recommender-store-engine
container_name: recommender-store-client-feedback
depends_on:
- mongo
ports:
- "8081:80"
env_file:
- client-feedback.env
mongo:
restart: always
image: mongo
container_name: mongo
ports:
- "27017:27017"
volumes:
- database:/data/db
env_file:
- mongo.env
nginx-proxy:
image: nginxproxy/nginx-proxy:alpine
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- conf:/etc/nginx/conf.d
- vhost:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- certs:/etc/nginx/certs
- /var/run/docker.sock:/tmp/docker.sock:ro
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
depends_on:
- engine
- client-feedback
letsencrypt:
restart: always
container_name: letsencrypt
image: nginxproxy/acme-companion
volumes_from:
- nginx-proxy
volumes:
- certs:/etc/nginx/certs
- acme:/etc/acme.sh
- /var/run/docker.sock:/var/run/docker.sock:ro
depends_on:
- nginx-proxy
volumes:
database:
html:
certs:
vhost:
acme:
conf: