21 lines
507 B
YAML
21 lines
507 B
YAML
version: '2'
|
|
services:
|
|
postgres:
|
|
image: postgres:15.1-bullseye
|
|
environment:
|
|
POSTGRES_USER: ${POSTGRES_USER}
|
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
|
ports:
|
|
- "${POSTGRES_PORT}:5432"
|
|
volumes:
|
|
- ./deployment/postgres/data:/var/lib/postgresql/data
|
|
frogress:
|
|
build:
|
|
context: .
|
|
dockerfile: deployment/frogress/Dockerfile
|
|
ports:
|
|
- "${BACKEND_PORT}:${BACKEND_PORT}"
|
|
environment:
|
|
POSTGRES_HOST: ${POSTGRES_HOST}
|
|
POSTGRES_PORT: 5432
|