docker-compose.yml 523 B

1234567891011121314151617181920212223242526
  1. version: '3.7'
  2. services:
  3. server:
  4. build: ./Docker/server
  5. user: ${USER_UID}:${USER_GID}
  6. volumes:
  7. - "${SERVER_ROOT}:/server"
  8. ports:
  9. - 8987:8987
  10. working_dir: "/server"
  11. app:
  12. build: ./Docker/app
  13. user: ${USER_UID}:${USER_GID}
  14. volumes:
  15. - "${APP_ROOT}:/app"
  16. ports:
  17. - 8988:8988
  18. working_dir: "/app"
  19. remote:
  20. build: ./Docker/remote
  21. user: ${USER_UID}:${USER_GID}
  22. volumes:
  23. - "${REMOTE_ROOT}:/app"
  24. ports:
  25. - 8989:8989
  26. working_dir: "/app"