2024-06-03 18:17:39 +01:00
|
|
|
services:
|
|
|
|
web:
|
|
|
|
build: .
|
|
|
|
ports:
|
|
|
|
- "8000:80"
|
|
|
|
environment:
|
|
|
|
- DATABASE_URL=postgres://elongate:elongate@db:5432/elongate
|
2024-07-11 17:57:01 +01:00
|
|
|
#- CONTACT_NAME=Your Name Here
|
|
|
|
#- CONTACT_EMAIL=your@email.example
|
|
|
|
#- CONTACT_URL=https://your.website.example/contact
|
2024-07-11 18:58:38 +01:00
|
|
|
#- ALLOW_ANONYMOUS=false # Disable creation for anonymous users
|
2024-06-03 18:17:39 +01:00
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
db:
|
|
|
|
image: postgres
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_PASSWORD: elongate
|
|
|
|
POSTGRES_USER: elongate
|
|
|
|
POSTGRES_DB: elongate
|
|
|
|
volumes:
|
|
|
|
- ./pgdata:/var/lib/postgresql/data
|