-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (46 loc) · 1.46 KB
/
docker-compose.yml
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
version: '3.4'
services:
master:
image: benchmarkingportal
build:
context: .
dockerfile: portal_with_vcloud.Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Production
- "ConnectionStrings__PostgressConnString=host=stackupPostgres;Port=5432;Database=BenchmarkingDB;User Id=BossDude;Password=?7o#&mT39KST6BM8;"
- "Kestrel__Certificates__Default__Path=./BenchmarkingPortal.pfx"
- ASPNETCORE_URLS=https://localhost;http://localhost
- ASPNETCORE_HTTPS_PORT=8001
ports:
# Replace the values on the left by the values on your launchSettings.json
- "8000:80"
- "8001:443"
- "15140:15140"
command: bash -c "while ! ssh -o StrictHostKeyChecking=no worker 'exit'; do sleep 1; done && java -jar vcloud.jar master 1>/dev/null 2>&1"
stackupPostgres:
image: postgres
container_name: stackupPostgres
restart: always
ports:
- "5432:5432"
environment:
- POSTGRES_USER=BossDude
- POSTGRES_PASSWORD=?7o#&mT39KST6BM8
- POSTGRES_DB=BenchmarkingDB
volumes:
- benchmarking_db_data:/var/lib/postgresql/data/
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: password
PGADMIN_LISTEN_PORT: 80
ports:
- "8009:80"
volumes:
- pgadmin-data:/var/lib/pgadmin
volumes:
benchmarking_db_data:
pgadmin-data: