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

24 lines
627 B
YAML
Raw Permalink Normal View History

version: "3.9"
services:
papermc-velocity:
# image: hty1024/papermc/velocity:3.2.0-SNAPSHOT-265
image: hty1024/papermc/velocity:3.2.0-SNAPSHOT-265-alpine
container_name: papermc-velocity
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- ./velocity.toml:/opt/papermc/velocity/velocity.toml
- ./forwarding.secret:/opt/papermc/velocity/forwarding.secret
- ./plugins:/opt/papermc/velocity/plugins
- ./logs:/opt/papermc/velocity/logs
ports:
- "25577:25577"
networks:
- app_network
networks:
app_network:
external: true
name: app_network