Compose file
This commit is contained in:
55
compose.yaml
Normal file
55
compose.yaml
Normal file
@@ -0,0 +1,55 @@
|
||||
services:
|
||||
wings:
|
||||
image: ghcr.io/pterodactyl/wings
|
||||
env_file:
|
||||
- .env
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- caddy
|
||||
- wings0
|
||||
ports:
|
||||
- "2022:2022"
|
||||
tty: true
|
||||
environment:
|
||||
TZ: "Europe/Warsaw"
|
||||
WINGS_UID: 988
|
||||
WINGS_GID: 988
|
||||
WINGS_USERNAME: pterodactyl
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "${TMP_DIR}:${TMP_DIR}"
|
||||
- "${DATA_DIR}/etc/:/etc/pterodactyl/"
|
||||
- "${DATA_DIR}/logs:/var/log/pterodactyl/"
|
||||
- "${DATA_DIR}/lib:/var/lib/pterodactyl/"
|
||||
- "${VOLUMES_DIR}:${VOLUMES_DIR}"
|
||||
labels:
|
||||
caddy: "${DOMAIN}"
|
||||
caddy.reverse_proxy: "{{upstreams 443}}"
|
||||
caddy.tls: ${MAIL}
|
||||
|
||||
caddy:
|
||||
image: caddy:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- caddy
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- ${CADDY_DIR}/data:/data
|
||||
- ${CADDY_DIR}/config:/config
|
||||
|
||||
networks:
|
||||
wings0:
|
||||
name: wings0
|
||||
driver: bridge
|
||||
ipam:
|
||||
config:
|
||||
- subnet: "10.172.0.0/16"
|
||||
driver_opts:
|
||||
com.docker.network.bridge.name: wings0
|
||||
|
||||
caddy:
|
||||
external: false
|
||||
Reference in New Issue
Block a user