-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
22 lines (22 loc) · 1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
22 lines (22 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
pal-admin:
build: .
container_name: pal-admin-tool
restart: unless-stopped
network_mode: bridge
environment:
- ADMIN_TOKEN=API_ADMIN_PASS # Set your token here
volumes:
# This allows the container to check status and restart the target
- /var/run/docker.sock:/var/run/docker.sock
- /home/palworld/Pal/Saved/SaveGames/0/D9A705BAA1304D8FA7787A4F11A6DFB3:/saves
labels:
- traefik.enable=true
- traefik.protocol=http
- traefik.http.middlewares.pal-admin-whitelist.ipwhitelist.sourcerange=127.0.0.1/32, 192.168.0.0/16, 172.0.0.0/8, 0.0.0.0/0
- traefik.http.routers.pal-admin.rule=Host(`pal-admin.yourdomain.com`)
- traefik.http.routers.pal-admin.entrypoints=websecure
- traefik.http.services.pal-admin.loadbalancer.server.port=80
- traefik.http.routers.pal-admin.service=pal-admin
- traefik.http.routers.pal-admin.tls.certresolver=mydnschallenge
- traefik.http.routers.pal-admin.middlewares=pal-admin-whitelist