frogress/docker-compose.yaml

23 lines
523 B
YAML
Raw Normal View History

version: '2'
services:
postgres:
2022-11-22 06:18:32 -08:00
image: postgres:15.1-bullseye
environment:
2022-11-22 06:18:32 -08:00
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
ports:
2022-11-22 09:01:24 -08:00
- "${POSTGRES_PORT}:5432"
volumes:
2022-11-22 09:01:24 -08:00
- ./deployment/postgres/data:/var/lib/postgresql/data
frogress:
depends_on:
- postgres
build:
context: .
dockerfile: deployment/frogress/Dockerfile
ports:
- "${BACKEND_PORT}:8000"
2022-11-22 09:01:24 -08:00
environment:
POSTGRES_HOST: postgres
2022-11-22 09:01:24 -08:00
POSTGRES_PORT: 5432