AppFlowy/backend/docker-compose.yml
2021-12-01 23:29:51 +08:00

18 lines
357 B
YAML

version: '3'
services:
backend:
build:
context: .
dockerfile: Dockerfile
depends_on:
- db
ports:
- "8000:8000"
db:
image: 'postgres:14'
environment:
POSTGRES_USER: "${POSTGRES_USER}"
POSTGRES_DB: "${POSTGRES_DB}"
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}"
ports:
- '${DB_PORT}:5432'