File tree 4 files changed +40
-0
lines changed
4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ ../postgres/psql.sh miniflux << EOF
3
+ create extension hstore
4
+ EOF
Original file line number Diff line number Diff line change
1
+ DROP ROLE IF EXISTS miniflux;
2
+ CREATE ROLE miniflux WITH LOGIN PASSWORD 'GEHEIM';
Original file line number Diff line number Diff line change
1
+ name : miniflux
2
+ services :
3
+ miniflux :
4
+ container_name : miniflux
5
+ restart : always
6
+ image : miniflux/miniflux:latest
7
+ volumes :
8
+ - /run/containers:/run/containers
9
+ ports :
10
+ - 127.0.0.1:1234:8080
11
+ environment :
12
+ DATABASE_URL : postgres://miniflux:GEHEIM@postgres:5432/miniflux?sslmode=disable
13
+ LISTEN_ADDR : /run/containers/miniflux.sock
14
+ LOG_FORMAT : json
15
+ RUN_MIGRATIONS : 1
16
+ POLLING_FREQUENCY : 60
17
+ BASE_URL : https://feeds.example.org/
18
+ OAUTH2_USER_CREATION : true
19
+ OAUTH2_PROVIDER : oidc
20
+ OAUTH2_CLIENT_ID : CLIENT_ID
21
+ OAUTH2_CLIENT_SECRET : CLIENT_SECRET
22
+ OAUTH2_OIDC_DISCOVERY_ENDPOINT : https://auth.example.org
23
+ OAUTH2_REDIRECT_URL : https://feeds.example.org/oauth2/oidc/callback
24
+ DISABLE_LOCAL_AUTH : true
25
+ labels :
26
+ caddy : feeds.example.org
27
+ caddy.import : norobots
28
+ caddy.log_skip : /healthcheck
29
+ caddy.reverse_proxy : " unix//run/containers/miniflux.sock"
30
+ networks :
31
+ default :
32
+ name : caddy
33
+ external : true
Original file line number Diff line number Diff line change
1
+ docker exec postgres sh -c " exec pg_dump -U postgres miniflux" > miniflux.psqldump
You can’t perform that action at this time.
0 commit comments