labkey-compose24.11.yaml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. services:
  2. labkey-db:
  3. # image: postgres:14.2
  4. #
  5. build:
  6. context: ./db
  7. args:
  8. USER_ID: ${USER_ID}
  9. GROUP_ID: ${GROUP_ID}
  10. volumes:
  11. - ${POSTGRES_DIR}:/var/lib/postgresql/data
  12. environment:
  13. - POSTGRES_USER=postgres
  14. - POSTGRES_PASSWORD=$PGPASS
  15. - POSTGRES_DB=labkey
  16. ports:
  17. - 5432
  18. labkey-web:
  19. depends_on:
  20. - labkey-db
  21. #image: tomcat:9-jdk17-temurin
  22. #
  23. build:
  24. context: ./web
  25. args:
  26. USER_ID: ${USER_ID}
  27. GROUP_ID: ${GROUP_ID}
  28. JAVA_FLAGS: ${J_FLAGS}
  29. volumes:
  30. - ${LABKEY_HOME}:/home/labkey
  31. #- ${TOMCAT_DIR}/conf/key.pem:/usr/local/tomcat/conf/key.pem
  32. #- ${TOMCAT_DIR}/conf/cert.pem:/usr/local/tomcat/conf/cert.pem
  33. #- ${TOMCAT_DIR}/conf/ca-chain.pem:/usr/local/tomcat/conf/ca-chain.pem
  34. ports:
  35. - 8081:8080
  36. - 8444:8443
  37. networks:
  38. default:
  39. name: labkey_network
  40. external: true