-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose.yml
64 lines (59 loc) · 1.83 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
version: '2'
services:
nginx:
image: jwilder/nginx-proxy
restart: always
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
labels:
- 'com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true'
environment:
- ENABLE_IPV6=true
volumes:
- '/var/run/docker.sock:/tmp/docker.sock:ro'
- '/srv/nginx/certs:/etc/nginx/certs:ro'
- '/srv/nginx/vhost.d:/etc/nginx/vhost.d'
- '/usr/share/nginx/html'
- '/srv/nginx/conf.d:/etc/nginx/conf.d'
nginx-proxy2:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
container_name: letsencrypt-nginx-proxy-companion
volumes_from:
- nginx
volumes:
- '/srv/nginx/certs:/etc/nginx/certs:rw'
- '/var/run/docker.sock:/var/run/docker.sock:ro'
mongo:
image: mongo:latest
privileged: true
restart: always
volumes:
- '/srv/mongodb:/data/db'
timemuinonl:
image: muino/time-management:latest
restart: always
privileged: true
environment:
- NODE_ENV=production
- SERVER_PORT=80
- JWT_SECRET=jaoipdfjaiojfefj2po3ij4i2je=
- MONGO_HOST=mongodb://mongo/muinotimeaccounting
- VIRTUAL_HOST=time.muino.nl
- VIRTUAL_PORT=80
- LETSENCRYPT_HOST=time.muino.nl
- LETSENCRYPT_EMAIL=admin@muino.nl
- SMTP_HOST=mail.muino.nl
- SMTP_PORT=587
- SMTP_SECURE=false
- SMTP_USER=no-reply@muino.nl
- SMTP_PASS=BIEEEMBLAAT
#- MONGO_USER=somemongdbuser
#- MONGO_PWD=jpkoasjggrporeno2345
depends_on:
- nginx
- mongo
volumes:
- '/srv/muino/avatars:/usr/src/app/dist/muino/assets/img/avatars/' # check if this is the directory you want