docker-compose.yaml 249 B

12345678910111213
  1. version: '3'
  2. services:
  3. minecraft:
  4. build: .
  5. image: mc_java_vanilla:alpine-1.8.9
  6. container_name: mc_java
  7. restart: on-failure
  8. ports:
  9. - "8008:25565"
  10. volumes:
  11. - "./worlds:/opt/worlds"
  12. - "./config:/opt/config"