-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (42 loc) · 880 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (42 loc) · 880 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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: