1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- services:
- labkey-db:
- # image: postgres:14.2
- #
- build:
- context: ./db
- args:
- USER_ID: ${USER_ID}
- GROUP_ID: ${GROUP_ID}
- volumes:
- - ${POSTGRES_DIR}:/var/lib/postgresql/data
- environment:
- - POSTGRES_USER=postgres
- - POSTGRES_PASSWORD=$PGPASS
- - POSTGRES_DB=labkey
- ports:
- - 5432
- labkey-web:
- depends_on:
- - labkey-db
- #image: tomcat:9-jdk17-temurin
- #
- build:
- context: ./web
- args:
- USER_ID: ${USER_ID}
- GROUP_ID: ${GROUP_ID}
- JAVA_FLAGS: ${J_FLAGS}
- volumes:
- - ${LABKEY_HOME}:/home/labkey
- #- ${TOMCAT_DIR}/conf/key.pem:/usr/local/tomcat/conf/key.pem
- #- ${TOMCAT_DIR}/conf/cert.pem:/usr/local/tomcat/conf/cert.pem
- #- ${TOMCAT_DIR}/conf/ca-chain.pem:/usr/local/tomcat/conf/ca-chain.pem
- ports:
- - 8081:8080
- - 8444:8443
-
- networks:
- default:
- name: labkey_network
- external: true
|