Advertisement
Guest User

Untitled

a guest
May 18th, 2020
699
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3.  
  4. minecraft:
  5. image: toasterlint/minecraft_bedrock:latest
  6. container_name: minecraft
  7. environment:
  8. - PUID=1000
  9. - PGID=1000
  10. # network_mode: host
  11. networks:
  12. - proxy
  13. - default
  14. restart: unless-stopped
  15. volumes:
  16. - "./docker/minecraftbe:/bedrock-server/config"
  17. - "./docker/minecraftbe/worlds:/bedrock-server/worlds"
  18. - "./docker/minecraftbe/valid_known_packs.json:/bedrock-server/valid_known_packs.json"
  19. - "./docker/minecraftbe/resource_packs/DHBE128LOW:/bedrock-server/resource_packs/DHBE128LOW"
  20. - "./docker/minecraftbe/resource_packs/HappyVilla:/bedrock-server/resource_packs/HappyVilla"
  21. - "./docker/minecraftbe/behavior_packs/HappyVilla:/bedrock-server/behavior_packs/HappyVilla"
  22. - "./docker/minecraftbe/behavior_packs/TameablePa:/bedrock-server/behavior_packs/TameablePa"
  23. labels:
  24. - "traefik.enable=true"
  25. - "traefik.http.routers.minecraft.rule=Host(`example.duckdns.org`)"
  26. # - "traefik.http.routers.minecraft.entrypoints=udpminecraft"
  27. - "traefik.http.routers.minecraft.tls.certresolver=http"
  28. - "traefik.udp.routers.minecraft.service=minecraft"
  29. - "traefik.udp.services.minecraft.loadbalancer.server.port=19132"
  30. - "traefik.docker.network=proxy"
  31.  
  32. networks:
  33. proxy:
  34. external:
  35. name: proxy
Advertisement
RAW Paste Data Copied
Advertisement