version: '3.8' services: wings: image: ghcr.io/pterodactyl/wings:latest restart: always networks: - wings0 ports: - "8080:8080" - "2022:2022" tty: true environment: TZ: "UTC" WINGS_UID: 988 WINGS_GID: 988 WINGS_USERNAME: pterodactyl volumes: - "/var/run/docker.sock:/var/run/docker.sock" - "/var/lib/docker/containers/:/var/lib/docker/containers/" - "/etc/pterodactyl/:/etc/pterodactyl/" - "/var/lib/pterodactyl/:/var/lib/pterodactyl/" - "/var/log/pterodactyl/:/var/log/pterodactyl/" - "/tmp/pterodactyl/:/tmp/pterodactyl/" # Comment out the following line if host is not Ubuntu- or Debian-based distribution - "/etc/ssl/certs:/etc/ssl/certs:ro" # Uncomment the following if host is RHEL/CentOS/Fedora/other EL # - "/etc/ssl/certs/ca-certificates.crt:/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt:ro" # you may need /srv/daemon-data if you are upgrading from an old daemon #- "/srv/daemon-data/:/srv/daemon-data/" # Required for ssl if you use let's encrypt. uncomment to use. #- "/etc/letsencrypt/:/etc/letsencrypt/" networks: wings0: name: wings0 driver: bridge ipam: config: - subnet: "172.21.0.0/16" driver_opts: com.docker.network.bridge.name: wings0