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