This repository has been archived on 2026-02-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
serengo/docker-compose.yml

27 lines
617 B
YAML

services:
db:
image: postgres
restart: always
ports:
- 5432:5432
env_file:
- .env
environment:
POSTGRES_USER: ${POSTGRES_USER:-root}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-mysecretpassword}
POSTGRES_DB: ${POSTGRES_DB:-local}
volumes:
- pgdata:/var/lib/postgresql/data
app:
build: .
ports:
- 3000:3000
env_file:
- .env
environment:
DATABASE_URL: postgres://${POSTGRES_USER:-root}:${POSTGRES_PASSWORD:-mysecretpassword}@db:5432/${POSTGRES_DB:-local}
depends_on:
- db
volumes:
pgdata: