-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathdocker-compose.yml
62 lines (57 loc) · 1.57 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
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- '80:80'
- '443:443'
volumes:
- '/etc/nginx/vhost.d'
- '/usr/share/nginx/html'
- '/etc/nginx/certs:/etc/nginx/certs:ro'
- '/var/run/docker.sock:/tmp/docker.sock:ro'
restart: on-failure
letsencrypt-nginx-proxy:
container_name: letsencrypt-nginx-proxy
image: 'jrcs/letsencrypt-nginx-proxy-companion'
volumes:
- '/etc/nginx/certs:/etc/nginx/certs'
- '/var/run/docker.sock:/var/run/docker.sock:ro'
volumes_from:
- nginx-proxy
restart: on-failure
librepatron:
container_name: librepatron
image: jvandrew/librepatron:0.7.39
expose:
- "8006"
volumes:
- data-volume:/var/lib/db
- config-volume:/var/lib/config
environment:
- SECRET_KEY_LOCATION=/var/lib/db/key
- DATABASE_URL=sqlite:////var/lib/db/app.db
env_file:
- librepatron.env
restart: on-failure
isso:
container_name: isso
image: jvandrew/isso:atron.22
expose:
- "8080"
volumes:
- data-volume:/var/lib/db
- config-volume:/var/lib/config
env_file:
- isso.env
restart: on-failure
volumes:
data-volume:
driver: local
config-volume:
driver: local
networks:
default:
external:
name: nginx-net