services: wings: image: "ghcr.io/pterodactyl/wings:latest" container_name: pterodactyl_wings restart: unless-stopped ports: - "2022:2022" - "8443:443" stdin_open: true tty: true environment: TZ: Europe/Moscow # Replace with your time zone APP_TIMEZONE: Europe/Moscow # Replace with your time zone WINGS_UID: 1000 WINGS_GID: 1000 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/" - "/etc/ssl/certs:/etc/ssl/certs:ro" - "/run/wings:/run/wings" networks: - wings0 networks: wings0: name: wings0 driver: bridge ipam: config: - subnet: 172.50.0.0/16 driver_opts: com.docker.network.bridge.name: wings0