Skip to content

Instantly share code, notes, and snippets.

@7a6163
Created November 4, 2018 07:08
Show Gist options
  • Select an option

  • Save 7a6163/777b0c55ee48ee5e192e3c7dd53530b8 to your computer and use it in GitHub Desktop.

Select an option

Save 7a6163/777b0c55ee48ee5e192e3c7dd53530b8 to your computer and use it in GitHub Desktop.
miniflux-docker-compose
version: '3'
services:
db:
image: postgres:alpine
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=secret
volumes:
- ./miniflux-db:/var/lib/postgresql/data
app:
image: miniflux/miniflux:latest
depends_on:
- db
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1
- CREATE_ADMIN=1
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=password
proxy:
image: abiosoft/caddy
restart: always
environment:
- ACME_AGREE=true
ports:
- "80:80"
- "443:443"
links:
- app
volumes:
- "./Caddyfile:/etc/Caddyfile"
- "./.caddy:/root/.caddy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment