-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.safers-development.yml
52 lines (47 loc) · 1.25 KB
/
docker-compose.safers-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
49
50
51
#docker-compose.safers.development.yml (Extended config for Safers DEVELOPMENT env.)
version: '3.5'
services:
safers.web:
depends_on:
- safers-pgsql
image: 'safers.web:${ENVTYPE_DEV}'
build:
context: .
dockerfile: src/Ermes.Web/Dockerfile
restart: unless-stopped
environment:
- ASPNETCORE_ENVIRONMENT=dev
- GOOGLE_APPLICATION_CREDENTIALS=firebasekey-safers.json
ports:
- '${SAFERS_WEB_PORT_DEV}:80'
container_name: 'safers-web-${ENVTYPE_DEV}'
networks:
- safers-net
volumes:
- saferslogsdev:/app/App_Data/Logs/
env_file:
- ./.env
safers-pgsql:
image: 'safers-pgsql'
build:
context: .
dockerfile: src/containers/postgresql/Dockerfile
restart: unless-stopped
container_name: 'safers-pgsql-${ENVTYPE_DEV}'
networks:
- safers-net
volumes:
- safersdbdatadev:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: ${SAFERS_PASSWORD_DEV}
DB_PASSWORD: ${SAFERS_PASSWORD_DEV}
DB_NAME: ${SAFERS_DB_DEV}
DB_USER: ${SAFERS_USER_DEV}
ports:
- '${PGSQL_PORT_SAFERS_DEV}:5432'
networks:
safers-net:
name: safers-net-${ENVTYPE_DEV}
volumes:
saferslogsdev:
safersdbdatadev: