Peter Stuifzand
ac30bfb72b
All checks were successful
continuous-integration/drone/push Build is passing
38 lines
825 B
YAML
38 lines
825 B
YAML
version: '2'
|
|
services:
|
|
redis:
|
|
image: "redis:5"
|
|
|
|
database:
|
|
image: postgres
|
|
volumes:
|
|
- database-data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_DB: ekster
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: simple
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
|
|
web:
|
|
image: "pstuifzand/ekster:alpine"
|
|
working_dir: /opt/microsub
|
|
links:
|
|
- redis:redis
|
|
volumes:
|
|
- microsub-data:/opt/microsub
|
|
- ./templates:/app/templates
|
|
- ./eksterd:/app/eksterd
|
|
entrypoint: /app/eksterd
|
|
command: -auth=false -port 80 -templates templates
|
|
ports:
|
|
- 8089:80
|
|
environment:
|
|
- "FEEDBIN_USER="
|
|
- "FEEDBIN_PASS="
|
|
- "EKSTER_BASEURL=http://localhost:8089/"
|
|
- "EKSTER_TEMPLATES=/app/templates"
|
|
|
|
volumes:
|
|
database-data:
|
|
microsub-data:
|