appstore-1panel/apps/palworld/latest/docker-compose.yml
2024-04-20 23:29:52 +08:00

33 lines
990 B
YAML

services:
palworld:
image: kagurazakanyaa/palworld:latest
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}/udp
- ${PANEL_APP_PORT_RCON}:${PANEL_APP_PORT_RCON}/tcp
volumes:
- ./data:/opt/palworld/Pal/Saved
- /etc/localtime:/etc/localtime:ro
environment:
- GAME_PORT=${PANEL_APP_PORT_HTTP}
- MAX_PLAYERS=${MAX_PLAYERS}
- ENABLE_MULTITHREAD=${MULTITHREAD_SWITCH}
- IS_PUBLIC=${PUBLIC_SWITCH}
- PUBLIC_IP=${PUBLIC_IP}
- PUBLIC_PORT=${PANEL_APP_PORT_PUBLIC}
- FORCE_UPDATE=${UPDATE_SWITCH}
- SERVER_NAME=${SERVER_NAME}
- SERVER_DESC=${SERVER_DESC}
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
- SERVER_PASSWORD=${SERVER_PASSWORD}
- RCON_ENABLED=${RCON_SWITCH}
- RCON_PORT=${PANEL_APP_PORT_RCON}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true