frogress/docker-compose.yaml

21 lines
507 B
YAML
Raw Normal View History

version: '2'
services:
postgres:
2022-11-22 14:18:32 +00:00
image: postgres:15.1-bullseye
environment:
2022-11-22 14:18:32 +00:00
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
2022-11-22 17:01:24 +00:00
- "${POSTGRES_PORT}:5432"
volumes:
2022-11-22 17:01:24 +00:00
- ./deployment/postgres/data:/var/lib/postgresql/data
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