|
@@ -1,22 +1,35 @@
|
|
|
|
+version: "3.3"
|
|
|
|
+
|
|
services:
|
|
services:
|
|
|
|
|
|
- db:
|
|
|
|
- image: postgres:14.2
|
|
|
|
|
|
+ labkey-db:
|
|
|
|
+# image: postgres:14.2
|
|
|
|
+#
|
|
|
|
+ build:
|
|
|
|
+ context: ./db
|
|
|
|
+ args:
|
|
|
|
+ USER_ID: ${USER_ID}
|
|
|
|
+ GROUP_ID: ${GROUP_ID}
|
|
volumes:
|
|
volumes:
|
|
- ${POSTGRES_DIR}:/var/lib/postgresql/data
|
|
- ${POSTGRES_DIR}:/var/lib/postgresql/data
|
|
environment:
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=$PGPASS
|
|
- POSTGRES_PASSWORD=$PGPASS
|
|
|
|
+ - POSTGRES_DB=labkey
|
|
ports:
|
|
ports:
|
|
- - '5432'
|
|
|
|
-
|
|
|
|
|
|
+ - 5432
|
|
|
|
|
|
- web:
|
|
|
|
|
|
+ labkey-web:
|
|
depends_on:
|
|
depends_on:
|
|
- - db
|
|
|
|
|
|
+ - labkey-db
|
|
#image: tomcat:9-jdk17-temurin
|
|
#image: tomcat:9-jdk17-temurin
|
|
- build: .
|
|
|
|
|
|
+ #
|
|
|
|
|
|
|
|
+ build:
|
|
|
|
+ context: ./web
|
|
|
|
+ args:
|
|
|
|
+ USER_ID: ${USER_ID}
|
|
|
|
+ GROUP_ID: ${GROUP_ID}
|
|
volumes:
|
|
volumes:
|
|
- ${LABKEY_DIR}/labkeywebapp:/usr/local/labkey/labkeywebapp
|
|
- ${LABKEY_DIR}/labkeywebapp:/usr/local/labkey/labkeywebapp
|
|
- ${LABKEY_DIR}/modules:/usr/local/labkey/modules
|
|
- ${LABKEY_DIR}/modules:/usr/local/labkey/modules
|
|
@@ -33,8 +46,8 @@ services:
|
|
- ${LABKEY_DIR}/tomcat-lib/mail.jar:/usr/local/tomcat/lib/mail.jar
|
|
- ${LABKEY_DIR}/tomcat-lib/mail.jar:/usr/local/tomcat/lib/mail.jar
|
|
- ${LABKEY_DIR}/labkey.xml:/usr/local/tomcat/conf/Catalina/localhost/labkey.xml
|
|
- ${LABKEY_DIR}/labkey.xml:/usr/local/tomcat/conf/Catalina/localhost/labkey.xml
|
|
ports:
|
|
ports:
|
|
- - '8080:8080'
|
|
|
|
- - '8443:8443'
|
|
|
|
|
|
+ - 8081:8080
|
|
|
|
+ - 8444:8443
|
|
|
|
|
|
|
|
|
|
networks:
|
|
networks:
|