MCServerDocker/docker-compose.yml

23 lines
324 B
YAML
Raw Normal View History

2024-01-25 23:19:06 +01:00
services:
mcsd:
2024-07-10 12:49:58 +02:00
build:
context: .
dockerfile: Dockerfile
container_name: mcsd
2024-04-20 16:46:20 +02:00
restart: unless-stopped
stop_grace_period: 120s
2024-01-25 23:19:06 +01:00
volumes:
- ./server:/data
2024-07-10 12:35:59 +02:00
- ./jvm:/jvm
env_file:
- ./config.env
2024-01-25 23:19:06 +01:00
ports:
- 25565:25565
2024-01-27 20:38:42 +01:00
networks:
- mcsdnet
2024-01-27 20:38:42 +01:00
networks:
mcsdnet:
name: mcsdnet
2024-01-27 20:38:42 +01:00
external: false