docker-compose: env (#493)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: #493
This commit is contained in:
parent
f7bbe72580
commit
f8a6df6a69
10 changed files with 102 additions and 102 deletions
|
@ -8,7 +8,7 @@ services:
|
||||||
- "53:53/tcp"
|
- "53:53/tcp"
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
# config file
|
# config file
|
||||||
- ./config.yml:/app/config.yml
|
- ./config.yml:/app/config.yml
|
||||||
|
|
|
@ -5,14 +5,14 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- 'data:/data'
|
- 'data:/data'
|
||||||
environment:
|
environment:
|
||||||
- 'DRONE_GITEA_SERVER=https://git.mgrote.net'
|
DRONE_GITEA_SERVER: https://git.mgrote.net
|
||||||
- DRONE_GITEA_CLIENT_ID=f8f0db2a-0089-4e23-9f5a-a5e52f20d765
|
DRONE_GITEA_CLIENT_ID: f8f0db2a-0089-4e23-9f5a-a5e52f20d765
|
||||||
- DRONE_GITEA_CLIENT_SECRET={{ lookup('keepass', 'drone_gitea_client_secret', 'password') }}
|
DRONE_GITEA_CLIENT_SECRET: {{ lookup('keepass', 'drone_gitea_client_secret', 'password') }}
|
||||||
- DRONE_RPC_SECRET={{ lookup('keepass', 'drone_rpc_secret', 'password') }}
|
DRONE_RPC_SECRET: {{ lookup('keepass', 'drone_rpc_secret', 'password') }}
|
||||||
- DRONE_SERVER_HOST=docker10.grote.lan:81
|
DRONE_SERVER_HOST: docker10.grote.lan:81
|
||||||
- DRONE_SERVER_PROTO=http
|
DRONE_SERVER_PROTO: http
|
||||||
- DRONE_USER_CREATE=username:mg,admin:true # Gitea-Nutzer "mg" als Admin
|
DRONE_USER_CREATE: username:mg,admin:true # Gitea-Nutzer "mg" als Admin
|
||||||
#- DRONE_LOGS_DEBUG=true
|
#DRONE_LOGS_DEBUG: true
|
||||||
ports:
|
ports:
|
||||||
- '81:80'
|
- '81:80'
|
||||||
- '444:443'
|
- '444:443'
|
||||||
|
@ -29,12 +29,12 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||||
environment:
|
environment:
|
||||||
- DRONE_RPC_PROTO=http
|
DRONE_RPC_PROTO: http
|
||||||
# container-name des servers
|
# container-name des servers
|
||||||
- DRONE_RPC_HOST=drone-server
|
DRONE_RPC_HOST: drone-server
|
||||||
- DRONE_RPC_SECRET={{ lookup('keepass', 'drone_rpc_secret', 'password') }}
|
DRONE_RPC_SECRET: {{ lookup('keepass', 'drone_rpc_secret', 'password') }}
|
||||||
- DRONE_RUNNER_CAPACITY=4
|
DRONE_RUNNER_CAPACITY: 4
|
||||||
- DRONE_RUNNER_NAME=drone-runner
|
DRONE_RUNNER_NAME: drone-runner
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '3000:3000'
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -6,10 +6,10 @@ services:
|
||||||
container_name: homer-dashboard
|
container_name: homer-dashboard
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
- UID=1000
|
UID: 1000
|
||||||
- GID=1000
|
GID: 1000
|
||||||
- INIT_ASSETS=0
|
INIT_ASSETS: 0
|
||||||
volumes:
|
volumes:
|
||||||
- ./assets/:/www/assets
|
- ./assets/:/www/assets
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -8,16 +8,16 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://miniflux:{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}@mf-db/miniflux?sslmode=disable
|
DATABASE_URL: postgres://miniflux:{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}@mf-db/miniflux?sslmode=disable
|
||||||
- RUN_MIGRATIONS=1
|
RUN_MIGRATIONS: 1
|
||||||
# - CREATE_ADMIN=1
|
# CREATE_ADMIN: 1
|
||||||
# - ADMIN_USERNAME=adminmf
|
# ADMIN_USERNAME: adminmf
|
||||||
# - ADMIN_PASSWORD={{ lookup('keepass', 'miniflux_admin_password', 'password') }}
|
# ADMIN_PASSWORD: {{ lookup('keepass', 'miniflux_admin_password', 'password') }}
|
||||||
- WORKER_POOL_SIZE=10
|
WORKER_POOL_SIZE: 10
|
||||||
- POLLING_FREQUENCY=10
|
POLLING_FREQUENCY: 10
|
||||||
- CLEANUP_ARCHIVE_UNREAD_DAYS=-1
|
CLEANUP_ARCHIVE_UNREAD_DAYS: -1
|
||||||
- CLEANUP_ARCHIVE_READ_DAYS=90
|
CLEANUP_ARCHIVE_READ_DAYS: 90
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
networks:
|
networks:
|
||||||
- intern
|
- intern
|
||||||
- traefik
|
- traefik
|
||||||
|
@ -37,9 +37,9 @@ services:
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=miniflux
|
POSTGRES_USER: miniflux
|
||||||
- POSTGRES_PASSWORD={{ lookup('keepass', 'miniflux_postgres_password', 'password') }}
|
POSTGRES_PASSWORD: {{ lookup('keepass', 'miniflux_postgres_password', 'password') }}
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data
|
- db:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
|
@ -53,11 +53,11 @@ services:
|
||||||
container_name: mf-filter
|
container_name: mf-filter
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
- MF_AUTH_TOKEN={{ lookup('keepass', 'miniflux_auth_token', 'password') }}
|
MF_AUTH_TOKEN: {{ lookup('keepass', 'miniflux_auth_token', 'password') }}
|
||||||
- MF_API_URL=https://miniflux.mgrote.net/v1
|
MF_API_URL: https://miniflux.mgrote.net/v1
|
||||||
- MF_SLEEP=600
|
MF_SLEEP: 600
|
||||||
#- MF_DEBUG=1
|
#MF_DEBUG: 1
|
||||||
image: quotengrote/miniflux-filter:latest
|
image: quotengrote/miniflux-filter:latest
|
||||||
volumes:
|
volumes:
|
||||||
- ./filter.txt:/data/filter.txt
|
- ./filter.txt:/data/filter.txt
|
||||||
|
@ -73,7 +73,7 @@ services:
|
||||||
image: rssbridge/rss-bridge:latest
|
image: rssbridge/rss-bridge:latest
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
- ./whitelist.txt:/app/whitelist.txt
|
- ./whitelist.txt:/app/whitelist.txt
|
||||||
networks:
|
networks:
|
||||||
|
@ -91,8 +91,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- changedetection-data:/datastore
|
- changedetection-data:/datastore
|
||||||
environment:
|
environment:
|
||||||
- PORT=5000
|
PORT: 5000
|
||||||
- BASE_URL=http://docker10.grote.lan:5000
|
BASE_URL: http://docker10.grote.lan:5000
|
||||||
ports:
|
ports:
|
||||||
- 5000:5000
|
- 5000:5000
|
||||||
restart: always
|
restart: always
|
||||||
|
|
|
@ -5,25 +5,25 @@ services:
|
||||||
image: quotengrote/munin-server
|
image: quotengrote/munin-server
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- MAILCONTACT=michael.grote@posteo.de
|
MAILCONTACT: michael.grote@posteo.de
|
||||||
- MAILSERVER=smtp.strato.de
|
MAILSERVER: smtp.strato.de
|
||||||
- MAILPORT=587
|
MAILPORT: 587
|
||||||
- MAILUSER=info@mgrote.net
|
MAILUSER: info@mgrote.net
|
||||||
- MAILPASSWORD={{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
|
MAILPASSWORD: {{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
|
||||||
- MAILFROM=info@mgrote.net
|
MAILFROM: info@mgrote.net
|
||||||
- MAILNAME=Munin-Prod
|
MAILNAME: Munin-Prod
|
||||||
- MAILDOMAIN=mgrote.net
|
MAILDOMAIN: mgrote.net
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
- DISABLELOCALNODE=yes
|
DISABLELOCALNODE: yes
|
||||||
- CRONDELAY=5
|
CRONDELAY: 5
|
||||||
- 'NODES=
|
NODES: |
|
||||||
fileserver3.grote.lan:fileserver3.grote.lan
|
fileserver3.grote.lan:fileserver3.grote.lan
|
||||||
acng2.grote.lan:acng2.grote.lan
|
acng2.grote.lan:acng2.grote.lan
|
||||||
ansible2.grote.lan:ansible2.grote.lan
|
ansible2.grote.lan:ansible2.grote.lan
|
||||||
pve5.grote.lan:pve5.grote.lan
|
pve5.grote.lan:pve5.grote.lan
|
||||||
dokuwiki2.grote.lan:dokuwiki2.grote.lan
|
dokuwiki2.grote.lan:dokuwiki2.grote.lan
|
||||||
gitea.grote.lan:gitea.grote.lan
|
gitea.grote.lan:gitea.grote.lan
|
||||||
docker10.grote.lan:docker10.grote.lan'
|
docker10.grote.lan:docker10.grote.lan
|
||||||
# z.B.
|
# z.B.
|
||||||
# computer-test.grote.lan.test:192.68.2.4
|
# computer-test.grote.lan.test:192.68.2.4
|
||||||
# computer.grote.lan:computer.grote.lan
|
# computer.grote.lan:computer.grote.lan
|
||||||
|
|
|
@ -6,23 +6,23 @@ services:
|
||||||
image: deluan/navidrome:latest
|
image: deluan/navidrome:latest
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- ND_LOGLEVEL=info
|
ND_LOGLEVEL: info
|
||||||
- ND_SESSIONTIMEOUT=24h
|
ND_SESSIONTIMEOUT: 24h
|
||||||
- ND_MUSICFOLDER=/music
|
ND_MUSICFOLDER: /music
|
||||||
- ND_DATAFOLDER=/data
|
ND_DATAFOLDER: /data
|
||||||
- ND_SCANSCHEDULE=6 * * * *
|
ND_SCANSCHEDULE: 6 * * * *
|
||||||
- ND_TRANSCODINGCACHESIZE=500MB
|
ND_TRANSCODINGCACHESIZE: 500MB
|
||||||
- ND_IMAGECACHESIZE=100MB
|
ND_IMAGECACHESIZE: 100MB
|
||||||
- ND_AUTOIMPORTPLAYLISTS=false
|
ND_AUTOIMPORTPLAYLISTS: false
|
||||||
- ND_BASEURL=/mg
|
ND_BASEURL: /mg
|
||||||
- ND_ENABLESTARRATING=false
|
ND_ENABLESTARRATING: false
|
||||||
- ND_ENABLEGRAVATAR=false
|
ND_ENABLEGRAVATAR: false
|
||||||
- ND_LASTFM_ENABLED=false
|
ND_LASTFM_ENABLED: false
|
||||||
- ND_ENABLETRANSCODINGCONFIG=true
|
ND_ENABLETRANSCODINGCONFIG: true
|
||||||
- PUID=1000
|
PUID: 1000
|
||||||
- PGID=1000
|
PGID: 1000
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
- ND_ENABLE_EXTERNAL_SERVICES=false
|
ND_ENABLE_EXTERNAL_SERVICES: false
|
||||||
volumes:
|
volumes:
|
||||||
- musik_smb_mg:/music:ro
|
- musik_smb_mg:/music:ro
|
||||||
- data:/data
|
- data:/data
|
||||||
|
@ -35,7 +35,7 @@ services:
|
||||||
- traefik.http.routers.navidrome-mg.tls.certresolver=resolver_letsencrypt
|
- traefik.http.routers.navidrome-mg.tls.certresolver=resolver_letsencrypt
|
||||||
- traefik.http.routers.navidrome-mg.entrypoints=entry_https
|
- traefik.http.routers.navidrome-mg.entrypoints=entry_https
|
||||||
- traefik.http.services.navidrome-mg.loadbalancer.server.port=4533
|
- traefik.http.services.navidrome-mg.loadbalancer.server.port=4533
|
||||||
|
|
||||||
- com.centurylinklabs.watchtower.enable=true
|
- com.centurylinklabs.watchtower.enable=true
|
||||||
ports:
|
ports:
|
||||||
- "4533:4533"
|
- "4533:4533"
|
||||||
|
|
|
@ -11,11 +11,11 @@ services:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- db:/var/lib/mysql
|
- db:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||||
- MYSQL_DATABASE=nextcloud
|
MYSQL_DATABASE: nextcloud
|
||||||
- MYSQL_USER=nextcloud
|
MYSQL_USER: nextcloud
|
||||||
- MYSQL_INITDB_SKIP_TZINFO=1
|
MYSQL_INITDB_SKIP_TZINFO: 1
|
||||||
networks:
|
networks:
|
||||||
- intern
|
- intern
|
||||||
labels:
|
labels:
|
||||||
|
@ -45,8 +45,8 @@ services:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- NEXTCLOUD_CONTAINER_NAME=nextcloud-app
|
NEXTCLOUD_CONTAINER_NAME: nextcloud-app
|
||||||
- NEXTCLOUD_CRON_MINUTE_INTERVAL=1
|
NEXTCLOUD_CRON_MINUTE_INTERVAL: 1
|
||||||
labels:
|
labels:
|
||||||
- com.centurylinklabs.watchtower.enable=true
|
- com.centurylinklabs.watchtower.enable=true
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ services:
|
||||||
- "443:443" # HTTPS
|
- "443:443" # HTTPS
|
||||||
- "2222:2222" # SSH
|
- "2222:2222" # SSH
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
labels:
|
labels:
|
||||||
- com.centurylinklabs.watchtower.enable=true
|
- com.centurylinklabs.watchtower.enable=true
|
||||||
######## Networks ########
|
######## Networks ########
|
||||||
|
|
|
@ -5,8 +5,8 @@ services:
|
||||||
image: ghcr.io/linuxserver/unifi-controller
|
image: ghcr.io/linuxserver/unifi-controller
|
||||||
container_name: unifi-controller
|
container_name: unifi-controller
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
PUID: 1000
|
||||||
- PGID=1000
|
PGID: 1000
|
||||||
volumes:
|
volumes:
|
||||||
- data:/config
|
- data:/config
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -7,22 +7,22 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
- WATCHTOWER_CLEANUP=true
|
WATCHTOWER_CLEANUP: true
|
||||||
- WATCHTOWER_INCLUDE_RESTARTING=true
|
WATCHTOWER_INCLUDE_RESTARTING: true
|
||||||
- WATCHTOWER_INCLUDE_STOPPED=true
|
WATCHTOWER_INCLUDE_STOPPED: true
|
||||||
- WATCHTOWER_REVIVE_STOPPED=false
|
WATCHTOWER_REVIVE_STOPPED: false
|
||||||
- WATCHTOWER_POLL_INTERVAL=86400 # (24 hours)
|
WATCHTOWER_POLL_INTERVAL: 86400 # (24 hours)
|
||||||
- WATCHTOWER_LABEL_ENABLE=true
|
WATCHTOWER_LABEL_ENABLE: true
|
||||||
- WATCHTOWER_NOTIFICATIONS=email
|
WATCHTOWER_NOTIFICATIONS: email
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=info@mgrote.net
|
WATCHTOWER_NOTIFICATION_EMAIL_FROM: info@mgrote.net
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_TO=michael.grote@posteo.de
|
WATCHTOWER_NOTIFICATION_EMAIL_TO: michael.grote@posteo.de
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.strato.de
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.strato.de
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 587
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=info@mgrote.net
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: info@mgrote.net
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD={{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
|
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: {{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
|
||||||
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2
|
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2
|
||||||
- WATCHTOWER_NO_STARTUP_MESSAGE=true
|
WATCHTOWER_NO_STARTUP_MESSAGE: true
|
||||||
labels:
|
labels:
|
||||||
- com.centurylinklabs.watchtower.enable=true
|
- com.centurylinklabs.watchtower.enable=true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue