-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.shelter-development.yml
49 lines (44 loc) · 1.19 KB
/
docker-compose.shelter-development.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
#docker-compose.shelter.development.yml (Extended config for Shelter DEVELOPMENT env.)
version: '3.5'
services:
shelter.web:
depends_on:
- shelter-pgsql
image: 'shelter.web:${ENVTYPE_DEV}'
build:
context: .
dockerfile: src/Ermes.Web/Dockerfile
restart: unless-stopped
environment:
- ASPNETCORE_ENVIRONMENT=dev
- GOOGLE_APPLICATION_CREDENTIALS=firebasekey-shelter.json
ports:
- '${SHELTER_WEB_PORT_DEV}:80'
container_name: 'shelter-web-${ENVTYPE_DEV}'
networks:
- shelter-net
volumes:
- shelterlogsdev:/app/App_Data/Logs/
env_file:
- ./.env
shelter-pgsql:
image: 'shelter-pgsql'
build:
context: .
dockerfile: src/containers/postgresql/Dockerfile
restart: unless-stopped
container_name: 'shelter-pgsql-${ENVTYPE_DEV}'
networks:
- shelter-net
environment:
POSTGRES_PASSWORD: ${SHELTER_PASSWORD_DEV}
DB_PASSWORD: ${SHELTER_PASSWORD_DEV}
DB_NAME: ${SHELTER_DB_DEV}
DB_USER: ${SHELTER_USER_DEV}
ports:
- '${PGSQL_PORT_SHELTER_DEV}:5432'
networks:
shelter-net:
name: shelter-net-${ENVTYPE_DEV}
volumes:
shelterlogsdev: