docker-compose.yaml 414 B

123456789101112131415161718192021
  1. version: '3'
  2. services:
  3. minecraft:
  4. build:
  5. context: .
  6. args:
  7. VERSION: 1.18.1
  8. image: tarfeef101/mc_java_vanilla:alpine-1.18.1
  9. container_name: mc_javas
  10. restart: on-failure
  11. ports:
  12. - "8009:25565"
  13. volumes:
  14. - "./worlds:/opt/worlds"
  15. - "./config:/opt/config"
  16. logging:
  17. driver: "json-file"
  18. options:
  19. max-size: "200k"
  20. max-file: "1"