You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

33 lines
632 B

  1. version: "3.7"
  2. networks:
  3. mc-oauth:
  4. external: false
  5. services:
  6. mcserver:
  7. build:
  8. context: .
  9. dockerfile: .docker/mcserver/Dockerfile
  10. volumes:
  11. - .docker/mcserver/server:/server
  12. - .docker/mcserver/configs:/configs
  13. - ./OauthPlugin:/OauthPlugin
  14. ports:
  15. - 25565:25565
  16. environment:
  17. - ACCEPT_EULA=true
  18. networks:
  19. - mc-oauth
  20. api:
  21. build:
  22. context: .
  23. dockerfile: .docker/api/Dockerfile
  24. volumes:
  25. - $PWD/.docker/mcserver/server/player.csv:/app/player.csv
  26. ports:
  27. - 8080:80
  28. networks:
  29. - mc-oauth
  30. depends_on:
  31. - mcserver