-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 1004 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 1004 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
version: '3.4'
services:
boiler.server:
image: ${DOCKER_REGISTRY-}boilerserver
container_name: boilerserver
restart: always
build:
context: .
dockerfile: Boiler.Server/Dockerfile
ports:
- "7017:7017"
- "8081:8081"
environment:
- ASPNETCORE_URLS=https://+:7017;https://+:8081
- ASPNETCORE_Kestrel__Certificates__Default__Password=Kolotoc!_25
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/localhost.pfx
volumes:
- /home/containers/https:/https:ro
networks:
- temperature_network
temperaturedb:
image: postgres:latest
container_name: temperaturedb
restart: always
environment:
POSTGRES_USER: temperature_admin
POSTGRES_PASSWORD: kufr2013
POSTGRES_DB: temperature
volumes:
- /home/containers/temperaturedb:/var/lib/postgresql/data
ports:
- "5432:5432"
networks:
- temperature_network
networks:
temperature_network:
driver: bridge