35 lines
655 B
YAML
35 lines
655 B
YAML
version: '3.5'
|
|
|
|
services:
|
|
app:
|
|
image: 'miniflux/miniflux:latest'
|
|
restart: 'always'
|
|
|
|
depends_on:
|
|
- 'db'
|
|
env_file:
|
|
- 'miniflux.env'
|
|
labels:
|
|
- 'com.centurylinklabs.watchtower.enable=true'
|
|
networks:
|
|
- 'default'
|
|
- 'nginx'
|
|
|
|
db:
|
|
image: 'postgres:13-alpine'
|
|
restart: 'always'
|
|
|
|
env_file:
|
|
- 'db.env'
|
|
labels:
|
|
- 'com.centurylinklabs.watchtower.enable=true'
|
|
volumes:
|
|
- 'db-data:/var/lib/postgresql/data'
|
|
|
|
networks:
|
|
nginx:
|
|
external: true
|
|
|
|
volumes:
|
|
db-data:
|