-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
82 lines (82 loc) · 2.3 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
71
72
73
74
75
76
77
78
79
80
81
82
version: '3.1'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "0.0.0.0:80:80"
- "0.0.0.0:443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./nginx/dhparam:/etc/nginx/dhparam:rw
- ./nginx/certs:/etc/nginx/certs:ro
- ./nginx/vhost.d:/etc/nginx/vhost.d
- nginx.html:/usr/share/nginx/html
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
nginx-proxy-companon:
image: jrcs/letsencrypt-nginx-proxy-companion
depends_on:
- "nginx-proxy"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./nginx/certs:/etc/nginx/certs:rw
- ./nginx/vhost.d:/etc/nginx/vhost.d
- nginx.html:/usr/share/nginx/html
environment:
- NGINX_PROXY_CONTAINER=nginx-proxy
ghost:
image: ghost:1-alpine
restart: always
depends_on:
- "nginx-proxy"
ports:
- 127.0.0.1:8080:2368
volumes:
- ./blog/data/ghost:/var/lib/ghost/content
environment:
- url=https://blog.aaronlenoir.com
- VIRTUAL_HOST=blog.aaronlenoir.com
- LETSENCRYPT_HOST=blog.aaronlenoir.com
- LETSENCRYPT_EMAIL=info@aaronlenoir.com
flightschool:
image: ghost:1-alpine
restart: always
depends_on:
- "nginx-proxy"
ports:
- 127.0.0.1:8090:2368
volumes:
- ./flightschool/data/ghost:/var/lib/ghost/content
environment:
- url=https://flightschool.aaronlenoir.com
- VIRTUAL_HOST=flightschool.aaronlenoir.com
- LETSENCRYPT_HOST=flightschool.aaronlenoir.com
- LETSENCRYPT_EMAIL=info@aaronlenoir.com
kicker:
image: kicker
restart: always
depends_on:
- "nginx-proxy"
ports:
- 127.0.0.1:8100:80
volumes:
- ./kicker/Configuration:/app/Configuration
environment:
- url=https://kicker.aaronlenoir.com
- VIRTUAL_HOST=kicker.aaronlenoir.com
- LETSENCRYPT_HOST=kicker.aaronlenoir.com
- LETSENCRYPT_EMAIL=info@aaronlenoir.com
tracks:
image: tracks
restart: always
depends_on:
- "nginx-proxy"
ports:
- 127.0.0.1:8110:80
environment:
- url=https://tracks.aaronlenoir.com
- VIRTUAL_HOST=tracks.aaronlenoir.com
- LETSENCRYPT_HOST=tracks.aaronlenoir.com
- LETSENCRYPT_EMAIL=info@aaronlenoir.com
volumes:
nginx.html: