labkey-compose18.1.yaml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. services:
  2. db:
  3. image: postgres:12
  4. volumes:
  5. - ${POSTGRES_DIR}:/var/lib/postgresql/data
  6. environment:
  7. - POSTGRES_USER=postgres
  8. - POSTGRES_PASSWORD=muzikolog
  9. ports:
  10. - '5432'
  11. web:
  12. depends_on:
  13. - db
  14. image: tomcat:9.0.62-jdk11-temurin-focal
  15. volumes:
  16. - ${LABKEY_DIR}/labkeywebapp:/usr/local/labkey/labkeywebapp
  17. - ${LABKEY_DIR}/modules:/usr/local/labkey/modules
  18. - ${LABKEY_DIR}/pipeline-lib:/usr/local/labkey/pipeline-lib
  19. - ${LABKEY_DIR}/externalModules:/usr/local/labkey/externalModules
  20. - ${HOME}/software/install/jdk:/usr/local/jdk
  21. - ${TOMCAT_DIR}/bin/setenv.sh:/usr/local/tomcat/bin/setenv.sh
  22. - ${TOMCAT_DIR}/conf/server.xml:/usr/local/tomcat/conf/server.xml
  23. - ${TOMCAT_DIR}/conf/key.pem:/usr/local/tomcat/conf/key.pem
  24. - ${TOMCAT_DIR}/conf/cert.pem:/usr/local/tomcat/conf/cert.pem
  25. - ${TOMCAT_DIR}/conf/ca-chain.pem:/usr/local/tomcat/conf/ca-chain.pem
  26. - ${LABKEY_DIR}/tomcat-lib/jtds.jar:/usr/local/tomcat/lib/jtds.jar
  27. - ${LABKEY_DIR}/tomcat-lib/labkeyBootstrap.jar:/usr/local/tomcat/lib/labkeyBootstrap.jar
  28. - ${LABKEY_DIR}/tomcat-lib/mail.jar:/usr/local/tomcat/lib/mail.jar
  29. - ${LABKEY_DIR}/tomcat-lib/mysql.jar:/usr/local/tomcat/lib/mysql.jar
  30. - ${LABKEY_DIR}/tomcat-lib/postgresql.jar:/usr/local/tomcat/lib/postgresql.jar
  31. - ${LABKEY_DIR}/labkey.xml:/usr/local/tomcat/conf/Catalina/localhost/labkey.xml
  32. ports:
  33. - '8080:8080'
  34. - '8443:8443'
  35. networks:
  36. default:
  37. external:
  38. name: labkey_network