mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 12:48:49 +08:00
34 lines
1005 B
YAML
34 lines
1005 B
YAML
version: '3.9'
|
|
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
|