Select Git revision
-
Benoit Favre authoredBenoit Favre authored
docker-compose.yml 880 B
version: '3'
services:
jakartaEE:
build:
args:
- BRANCH
- TAG
- GITHUBLOGIN
- GITHUBPASSWORD
- SONAR_URL
- SONAR_TOKEN
context: .
dockerfile: docker/Dockerfile
image: brunoe/samplejee91:${TAG:-latest}
environment:
- ADMIN_PASSWORD=admin
ports:
- "8080:8080"
- "8181:8181"
- "4848:4848"
- "8686:8686"
depends_on:
- db
db:
image: brunoe/h2:develop
ports:
- "8082:8082"
- "9092:9092"
environment:
H2_OPTIONS: '-ifNotExists -webAllowOthers -tcpAllowOthers -pgAllowOthers -ifNotExists'
volumes:
- h2data:/h2-data
reverse-proxy:
environment:
- NGINX_HOST=localhost
build: docker/nginx
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
ports:
- "8888:443"
volumes:
h2data: