-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
82 lines (81 loc) · 1.95 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"
services:
jupyterhub:
build: ./jupyterhub
environment:
- OAUTH_CALLBACK_URL=https://subd.domain.com/hub/oauth_callback
- GITHUB_CLIENT_ID=asdfasdfasdf
- GITHUB_CLIENT_SECRET=asdfasdfasdfasdfasdf
- VIRTUAL_HOST=sub.domain.com
- VIRTUAL_PORT=8000
- LETSENCRYPT_HOST=sub.domain.com
- LETSENCRYPT_EMAIL=admin@domain.com
- JUPYTERHUB_ADMIN=githubusername
volumes:
- jupyter_hub:/srv/jupyterhub
- notebook_users:/home
restart: always
networks:
- proxy-tier
- default
minecraft:
image: itzg/minecraft-server
volumes:
- minecraft:/data
ports:
- 25565:25565
expose:
- "4711"
environment:
- EULA=TRUE
- ENABLE_COMMAND_BLOCK=TRUE
- SNOOPER_ENABLED=FALSE
- SPAWN_MONSTERS=FALSE
- SPAWN_NPCS=TRUE
- SPAWN_ANIMALS=TRUE
- MODE=creative
- PVP=FALSE
- TYPE=SPIGOT
- VERSION=1.16.3
- MODS=https://github.com/zhuowei/RaspberryJuice/raw/master/jars/raspberryjuice-1.12.1.jar
- MAX_PLAYERS=25
restart: always
command: --noconsole
networks:
- default
proxy:
image: jwilder/nginx-proxy:alpine
restart: always
ports:
- 80:80
- 443:443
labels:
com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: "true"
volumes:
- certs:/etc/nginx/certs:ro
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
- proxy-tier
letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: always
volumes:
- certs:/etc/nginx/certs
- vhost.d:/etc/nginx/vhost.d
- html:/usr/share/nginx/html
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- proxy-tier
depends_on:
- proxy
volumes:
jupyter_hub:
notebook_users:
minecraft:
vhost.d:
html:
certs:
networks:
proxy-tier: