-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
63 lines (57 loc) · 1.71 KB
/
docker-compose.yaml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# NB: Login to Azure Container Registery : az login && az acr login -n crutvikling --subscription 0d8a0177-44ad-4a25-a38f-9489f3874db0
# https://portal.azure.com/#@Nasjonalfelleslosning.onmicrosoft.com/resource/subscriptions/9c0d7873-b8aa-4042-96f8-b8ce5c9888d0/resourceGroups/rg-eid-systest-cr/providers/Microsoft.ContainerRegistry/registries/crutvikling/overview
name: eidas-node-demo
networks:
eidas:
name: eidas
services:
eidas-demo-ca:
build:
context: .
dockerfile: docker/dev.CA.Dockerfile
args:
GIT_PACKAGE_TOKEN: ${GIT_PACKAGE_TOKEN}
GIT_PACKAGE_USERNAME: ${GIT_PACKAGE_USERNAME}
environment:
- ENVIRONMENT=docker-ca
ports:
- "8080:8080"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://eidas-demo-ca:8080/SP || exit 1
interval: 5s
start_period: 8s
timeout: 5s
retries: 20
networks:
- eidas
entrypoint: "/bin/bash -c"
command:
- |
cd /usr/local/tomcat
./bin/addEnvironmentSpesificConfigFiles.sh
./bin/catalina.sh run
eidas-demo-cb:
build:
context: .
dockerfile: docker/dev.CB.Dockerfile
args:
GIT_PACKAGE_TOKEN: ${GIT_PACKAGE_TOKEN}
GIT_PACKAGE_USERNAME: ${GIT_PACKAGE_USERNAME}
environment:
- ENVIRONMENT=docker-cb
ports:
- "8081:8081"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://eidas-demo-cb:8081/SP || exit 1
interval: 5s
start_period: 8s
timeout: 5s
retries: 20
networks:
- eidas
entrypoint: "/bin/bash -c"
command:
- |
cd /usr/local/tomcat
./bin/addEnvironmentSpesificConfigFiles.sh
./bin/catalina.sh run