-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
34 lines (32 loc) · 1 KB
/
docker-compose.dev.yaml
File metadata and controls
34 lines (32 loc) · 1 KB
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
version: '3'
services:
app:
container_name: ams-app
image: safehouseams:local
depends_on:
- postgres
ports:
- "80:80"
- "443:443"
restart: always
volumes:
- ~/.aspnet/https:/https:ro
env_file:
- .env
# environment:
# - ASPNETCORE_ENVIRONMENT=Development
# - ASPNETCORE_URLS=https://+:443;http://+:80
# - ASPNETCORE_Kestrel__Certificates__Default__Password=password
# - ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
# - ConnectionStrings:postgres=server=postgres;port=5432;user id=postgres;password=password;database=AMSdb
postgres:
container_name: ams-pgsql
image: postgres:13
restart: always
volumes:
- ./db-data/:/var/lib/postgresql/data/
env_file:
- .env.postgres
# environment:
# - POSTGRES_USER=postgres # The PostgreSQL user (useful to connect to the database)
# - POSTGRES_PASSWORD=password # The PostgreSQL password (useful to connect to the database)