Created
October 14, 2019 10:48
-
-
Save squizduos/8b55c29cb80e61e9bda4e0080858d23b to your computer and use it in GitHub Desktop.
miniflux.app in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
reader: | |
image: miniflux/miniflux:latest | |
expose: | |
- 8080 | |
depends_on: | |
- db | |
env_file: .env | |
environment: | |
- VIRTUAL_HOST=miniflux.squizduos.ru | |
- VIRTUAL_PORT=8080 | |
- LETSENCRYPT_HOST=miniflux.squizduos.ru | |
- LETSENCRYPT_EMAIL=${ADMIN_EMAIL} | |
- RUN_MIGRATIONS=1 | |
- CREATE_ADMIN=1 | |
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/miniflux?sslmode=disable | |
db: | |
image: postgres:latest | |
env_file: .env | |
volumes: | |
- ./data:/var/lib/postgresql/data | |
networks: | |
default: | |
external: | |
name: nginx-proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ADMIN_USERNAME=admin | |
ADMIN_EMAIL=example@mail.com | |
ADMIN_PASSWORD=1234567890abcdef | |
POSTGRES_USER=miniflux | |
POSTGRES_PASSWORD=1234567890abcdef |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment