dockerfile/examples/papermc/paper/example/compose.yaml

28 lines
773 B
YAML
Raw Permalink Normal View History

version: "3.9"
services:
papermc-paper:
# image: hty1024/papermc/paper:1.20.1-134
image: hty1024/papermc/paper:1.20.1-134-alpine
container_name: papermc-paper
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- ./world:/opt/papermc/paper/world
- ./world_nether:/opt/papermc/paper/world_nether
- ./world_the_end:/opt/papermc/paper/world_the_end
- ./config:/opt/papermc/paper/config
- ./server.properties:/opt/papermc/paper/server.properties
- ./eula.txt:/opt/papermc/paper/eula.txt
- ./plugins:/opt/papermc/paper/plugins
- ./logs:/opt/papermc/paper/logs
ports:
- "25565:25565"
networks:
- app_network
networks:
app_network:
external: true
name: app_network