MCServerDocker/docker-compose.yml

22 lines
286 B
YAML
Raw Normal View History

2024-01-25 23:19:06 +01:00
version: "3.8"
services:
2024-01-26 01:29:22 +01:00
mcsd:
2024-01-25 23:19:06 +01:00
build: .
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
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
networks:
mcsdnet:
name: mcsdnet
external: false