2022-09-04 12:28:59 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
postgres:
|
2022-11-22 14:18:32 +00:00
|
|
|
image: postgres:15.1-bullseye
|
2022-09-04 12:28:59 +00:00
|
|
|
environment:
|
2022-11-22 14:18:32 +00:00
|
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
2022-09-04 12:28:59 +00:00
|
|
|
ports:
|
2022-11-22 17:01:24 +00:00
|
|
|
- "${POSTGRES_PORT}:5432"
|
2022-09-04 12:28:59 +00:00
|
|
|
volumes:
|
2022-11-22 17:01:24 +00:00
|
|
|
- ./deployment/postgres/data:/var/lib/postgresql/data
|
2022-09-04 12:28:59 +00:00
|
|
|
frogress:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: deployment/frogress/Dockerfile
|
|
|
|
ports:
|
2022-11-22 14:18:32 +00:00
|
|
|
- "${BACKEND_PORT}:${BACKEND_PORT}"
|
2022-11-22 17:01:24 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_HOST: ${POSTGRES_HOST}
|
|
|
|
POSTGRES_PORT: 5432
|