-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-dev.yml
39 lines (37 loc) · 1.13 KB
/
docker-compose-dev.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
version: '3.8'
services:
cervantes-db:
container_name: cervantes-db
networks:
- cervantes
image: mesq/cervantes-postgres:dev
restart: unless-stopped
expose:
- "5432"
environment:
POSTGRES_DB: cervantes
POSTGRES_USER: postgres
POSTGRES_PASSWORD: EnUnLugarDeLaMancha1547
cervantes-app:
container_name: cervantes-app
networks:
- cervantes
image: mesq/cervantes:latest-dev
depends_on:
- cervantes-db
restart: unless-stopped
ports:
- "443:8081"
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_DETAILEDERRORS=1
- ASPNETCORE_URLS=https://+:443
- ASPNETCORE_HTTPS_PORT=443
- ASPNETCORE_Kestrel__Certificates__Default__Password=CervantesCert
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/cervantes.pfx
volumes:
- ./appsettings.json:/app/appsettings.json
- ./https:/https:ro
networks:
cervantes:
driver: bridge