link-elongater/docker-compose.yml
nexy7574 7eee976692
All checks were successful
Build and Publish / build_and_publish (push) Successful in 31s
Fix "is not" vs "!="
2024-07-11 18:58:38 +01:00

22 lines
676 B
YAML

services:
web:
build: .
ports:
- "8000:80"
environment:
- DATABASE_URL=postgres://elongate:elongate@db:5432/elongate
#- CONTACT_NAME=Your Name Here
#- CONTACT_EMAIL=your@email.example
#- CONTACT_URL=https://your.website.example/contact
#- ALLOW_ANONYMOUS=false # Disable creation for anonymous users
depends_on:
- db
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: elongate
POSTGRES_USER: elongate
POSTGRES_DB: elongate
volumes:
- ./pgdata:/var/lib/postgresql/data