forked from SkyCryptWebsite/SkyCrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·83 lines (79 loc) · 2.48 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
# Original Code by Physanus
# Modified by WarpWing
version: "3"
services:
dockergen:
command: "-notify-sighup nginx -watch /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf"
container_name: nginx-docker-gen
image: jwilder/docker-gen
volumes:
- "nginx-config:/etc/nginx/conf.d"
- "nginx-certs:/etc/nginx/certs"
- "nginx-vhosts:/etc/nginx/vhost.d"
- "nginx-webroot:/usr/share/nginx/html"
- "nginx-well-known:/usr/share/nginx/html/.well-known"
- "/var/run/docker.sock:/tmp/docker.sock:ro"
- "./config/dockergen/nginx.tmpl:/etc/docker-gen/templates/nginx.tmpl"
letsencrypt:
container_name: letsencrypt
environment:
NGINX_DOCKER_GEN_CONTAINER: nginx-docker-gen
NGINX_PROXY_CONTAINER: nginx
image: jrcs/letsencrypt-nginx-proxy-companion
volumes:
- "nginx-config:/etc/nginx/conf.d"
- "nginx-certs:/etc/nginx/certs"
- "nginx-vhosts:/etc/nginx/vhost.d"
- "nginx-webroot:/usr/share/nginx/html"
- "nginx-well-known:/usr/share/nginx/html/.well-known"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
nginx:
container_name: nginx
image: nginx
ports:
- "80:80"
- "443:443"
- "3012:3012"
restart: always
volumes:
- "nginx-config:/etc/nginx/conf.d"
- "nginx-main-config:/etc/nginx"
- "nginx-certs:/etc/nginx/certs"
- "nginx-vhosts:/etc/nginx/vhost.d"
- "nginx-webroot:/usr/share/nginx/html"
- "nginx-well-known:/usr/share/nginx/html/.well-known"
mongo:
image: mongo:latest
container_name: mongodb
ports:
- "27017:27017"
volumes:
- ./data:/data/db
restart: always
logging:
driver: "none"
redis:
image: redis:latest
container_name: redis
ports:
- "6379:6379"
restart: always
logging:
driver: "none"
skyblock-stats:
container_name: skyblock-stats
environment:
API_KEY: "<Use your own API key - WarpWing>"
LETSENCRYPT_EMAIL: [email protected]
LETSENCRYPT_HOST: skyblock.domain.tld
VIRTUAL_HOST: skyblock.domain.tld
image: warpwing/skycrypt:latest
restart: always
volumes:
nginx-certs: ~
nginx-config: ~
nginx-main-config: ~
nginx-vhosts: ~
nginx-webroot: ~
nginx-well-known:
driver: local