ekster/docker-compose.yml

33 lines
669 B
YAML

version: '2'
services:
redis:
image: "redis:5"
database:
image: postgres:14
volumes:
- database-data:/var/lib/postgresql/data
environment:
POSTGRES_DB: ekster
POSTGRES_USER: postgres
POSTGRES_PASSWORD: simple
POSTGRES_HOST_AUTH_METHOD: trust
web:
image: ubuntu
working_dir: /app
volumes:
- ./eksterd:/app/eksterd
- ./backend.json:/app/backend.json
entrypoint: /app/eksterd
command: -auth=false -port 80
ports:
- 8089:80
environment:
- "EKSTER_BASEURL=http://localhost:8089/"
- "EKSTER_TEMPLATES=/app/templates"
volumes:
database-data:
microsub-data: