-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (35 loc) · 945 Bytes
/
docker-compose.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
version: '3.7'
services:
application:
container_name: ${BCKND_NAME}_APPLICATION
build: .
environment:
- BCKND_NAME=${BCKND_NAME}
- BCKND_PORT=${BCKND_PORT}
- BCKND_ENV0=${BCKND_ENV0}
- JWT_SCRT=${JWT_SCRT}
- JWT_EXPI=${JWT_EXPI}
- DTBS_HOST=${DTBS_HOST}
- DTBS_PORT=${DTBS_PORT}
- DTBS_NAME=${DTBS_NAME}
- DTBS_USER=${DTBS_USER}
- DTBS_PSWD=${DTBS_PSWD}
- DTBS_LOGS=${DTBS_LOGS}
- DTBS_VOL0=${DTBS_VOL0}
- SNGRD_APIK=${SNGRD_APIK}
- SNGRD_MAIL=${SNGRD_MAIL}
ports:
- 80:${BCKND_PORT}
database:
image: postgres
container_name: ${BCKND_NAME}_POSTGRESS_DB
restart: always
environment:
- POSTGRES_DB=${DTBS_NAME}
- POSTGRES_USER=${DTBS_USER}
- POSTGRES_PASSWORD=${DTBS_PSWD}
- TZ=America/Santo_Domingo
volumes:
- ${DTBS_VOL0}:/var/lib/postgresql/data
ports:
- ${DTBS_PORT}:5432