-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (63 loc) · 1.89 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
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "80:80"
- "443:443"
volumes:
- "/path/to/certs:/etc/nginx/certs:ro"
- "/etc/nginx/vhost.d"
- "/usr/share/nginx/html"
- "/var/run/docker.sock:/tmp/docker.sock:ro"
labels:
- com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy
restart: on-failure
nginx-proxy-encrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- "/path/to/certs:/etc/nginx/certs:rw"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
volumes_from:
- "nginx-proxy"
restart: on-failure
dockerhub-hook:
image: maccyber/micro-dockerhub-hook
volumes:
- "/scripts:/src/scripts"
- "/var/run/docker.sock:/var/run/docker.sock"
- "/docker-compose:/docker-compose"
environment:
- VIRTUAL_HOST=dockerhub.jedthompson.co.uk
- LETSENCRYPT_HOST=dockerhub.jedthompson.co.uk
- TOKEN
restart: on-failure
pollingapp:
image: jedster1111/pollingapp:release
volumes:
- "/database:/usr/src/app/database"
environment:
- VIRTUAL_HOST=pollingapp.jedthompson.co.uk
- LETSENCRYPT_HOST=pollingapp.jedthompson.co.uk
- CLIENT_ID
- CLIENT_SECRET
- SECRET_KEY
- POLLING_APP_URL
restart: on-failure
container_name: pollingapp
jenkins:
image: jedster1111/jenkinsdocker
volumes:
- "/jenkins_home:/var/jenkins_home"
- "/var/run/docker.sock:/var/run/docker.sock"
- "/docker-compose:/docker-compose"
environment:
- VIRTUAL_HOST=jenkins.jedthompson.co.uk
- LETSENCRYPT_HOST=jenkins.jedthompson.co.uk
- VIRTUAL_PORT=8080
user: root
privileged: true
restart: on-failure