forked from dec0dOS/zero-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (60 loc) · 1.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
version: "3.9"
services:
# zerotier:
# image: dec0dos/zerotier-controller:latest
# container_name: zu-controller
# build:
# context: .
# dockerfile: ./docker/zerotier/Dockerfile
# restart: unless-stopped
# volumes:
# - controller_data:/var/lib/zerotier-one
# expose:
# - "9993/tcp"
# ports:
# - "9993:9993/udp"
docker-host:
image: qoomon/docker-host
cap_add: [ 'NET_ADMIN', 'NET_RAW' ]
restart: on-failure
zero-ui:
image: styliteag/zero-ui-userportal:latest
container_name: zero-ui-userportal
build:
context: .
dockerfile: ./docker/zero-ui/Dockerfile
restart: unless-stopped
depends_on:
- docker-host
# - zerotier
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
#- ./controller_data:/var/lib/zerotier-one
- /var/lib/zerotier-one:/var/lib/zerotier-one
- ./zero-ui_data:/app/config
environment:
- ZU_CONTROLLER_ENDPOINT=http://docker-host:9993/
- ZU_DEFAULT_USERNAME=admin
- ZU_DEFAULT_PASSWORD=geheim
#- FLASK_ENV=development
expose:
- "80"
ports:
- "8080:80"
# https-proxy:
# image: caddy:latest
# container_name: zu-https-proxy
# restart: unless-stopped
# depends_on:
# - zero-ui
# command: caddy reverse-proxy --from example.com --to zero-ui:80
# volumes:
# - caddy_data:/data
# ports:
# - "80:80"
# - "443:443"
#volumes:
# zero-ui_data:
# controller_data:
# caddy_data: