labkey-compose24.11.yaml 768 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. services:
  2. labkey-db:
  3. build:
  4. context: ./db
  5. args:
  6. USER_ID: ${USER_ID}
  7. GROUP_ID: ${GROUP_ID}
  8. volumes:
  9. - ${POSTGRES_DIR}:/var/lib/postgresql/data
  10. environment:
  11. - POSTGRES_USER=postgres
  12. - POSTGRES_PASSWORD=$PGPASS
  13. - POSTGRES_DB=labkey
  14. ports:
  15. - 5432
  16. labkey-web:
  17. depends_on:
  18. - labkey-db
  19. build:
  20. context: ./web
  21. args:
  22. USER_ID: ${USER_ID}
  23. GROUP_ID: ${GROUP_ID}
  24. JAVA_FLAGS: ${J_FLAGS}
  25. volumes:
  26. - ${LABKEY_HOME}:/home/labkey
  27. ports:
  28. - 8081:8080
  29. - 8444:8443
  30. networks:
  31. default:
  32. name: labkey_network
  33. external: true