docker-compose: env (#493)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #493
This commit is contained in:
Michael Grote 2023-04-06 19:53:27 +02:00
parent f7bbe72580
commit f8a6df6a69
10 changed files with 102 additions and 102 deletions

View file

@ -8,7 +8,7 @@ services:
- "53:53/tcp"
- "53:53/udp"
environment:
- TZ=Europe/Berlin
TZ: Europe/Berlin
volumes:
# config file
- ./config.yml:/app/config.yml

View file

@ -5,14 +5,14 @@ services:
volumes:
- 'data:/data'
environment:
- 'DRONE_GITEA_SERVER=https://git.mgrote.net'
- DRONE_GITEA_CLIENT_ID=f8f0db2a-0089-4e23-9f5a-a5e52f20d765
- DRONE_GITEA_CLIENT_SECRET={{ lookup('keepass', 'drone_gitea_client_secret', 'password') }}
- DRONE_RPC_SECRET={{ lookup('keepass', 'drone_rpc_secret', 'password') }}
- DRONE_SERVER_HOST=docker10.grote.lan:81
- DRONE_SERVER_PROTO=http
- DRONE_USER_CREATE=username:mg,admin:true # Gitea-Nutzer "mg" als Admin
#- DRONE_LOGS_DEBUG=true
DRONE_GITEA_SERVER: https://git.mgrote.net
DRONE_GITEA_CLIENT_ID: f8f0db2a-0089-4e23-9f5a-a5e52f20d765
DRONE_GITEA_CLIENT_SECRET: {{ lookup('keepass', 'drone_gitea_client_secret', 'password') }}
DRONE_RPC_SECRET: {{ lookup('keepass', 'drone_rpc_secret', 'password') }}
DRONE_SERVER_HOST: docker10.grote.lan:81
DRONE_SERVER_PROTO: http
DRONE_USER_CREATE: username:mg,admin:true # Gitea-Nutzer "mg" als Admin
#DRONE_LOGS_DEBUG: true
ports:
- '81:80'
- '444:443'
@ -29,12 +29,12 @@ services:
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
environment:
- DRONE_RPC_PROTO=http
DRONE_RPC_PROTO: http
# container-name des servers
- DRONE_RPC_HOST=drone-server
- DRONE_RPC_SECRET={{ lookup('keepass', 'drone_rpc_secret', 'password') }}
- DRONE_RUNNER_CAPACITY=4
- DRONE_RUNNER_NAME=drone-runner
DRONE_RPC_HOST: drone-server
DRONE_RPC_SECRET: {{ lookup('keepass', 'drone_rpc_secret', 'password') }}
DRONE_RUNNER_CAPACITY: 4
DRONE_RUNNER_NAME: drone-runner
ports:
- '3000:3000'
restart: always

View file

@ -6,10 +6,10 @@ services:
container_name: homer-dashboard
restart: always
environment:
- TZ=Europe/Berlin
- UID=1000
- GID=1000
- INIT_ASSETS=0
TZ: Europe/Berlin
UID: 1000
GID: 1000
INIT_ASSETS: 0
volumes:
- ./assets/:/www/assets
ports:

View file

@ -8,16 +8,16 @@ services:
depends_on:
- db
environment:
- DATABASE_URL=postgres://miniflux:{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}@mf-db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1
# - CREATE_ADMIN=1
# - ADMIN_USERNAME=adminmf
# - ADMIN_PASSWORD={{ lookup('keepass', 'miniflux_admin_password', 'password') }}
- WORKER_POOL_SIZE=10
- POLLING_FREQUENCY=10
- CLEANUP_ARCHIVE_UNREAD_DAYS=-1
- CLEANUP_ARCHIVE_READ_DAYS=90
- TZ=Europe/Berlin
DATABASE_URL: postgres://miniflux:{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}@mf-db/miniflux?sslmode=disable
RUN_MIGRATIONS: 1
# CREATE_ADMIN: 1
# ADMIN_USERNAME: adminmf
# ADMIN_PASSWORD: {{ lookup('keepass', 'miniflux_admin_password', 'password') }}
WORKER_POOL_SIZE: 10
POLLING_FREQUENCY: 10
CLEANUP_ARCHIVE_UNREAD_DAYS: -1
CLEANUP_ARCHIVE_READ_DAYS: 90
TZ: Europe/Berlin
networks:
- intern
- traefik
@ -37,9 +37,9 @@ services:
image: postgres:13
restart: always
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD={{ lookup('keepass', 'miniflux_postgres_password', 'password') }}
- TZ=Europe/Berlin
POSTGRES_USER: miniflux
POSTGRES_PASSWORD: {{ lookup('keepass', 'miniflux_postgres_password', 'password') }}
TZ: Europe/Berlin
volumes:
- db:/var/lib/postgresql/data
networks:
@ -53,11 +53,11 @@ services:
container_name: mf-filter
restart: always
environment:
- TZ=Europe/Berlin
- MF_AUTH_TOKEN={{ lookup('keepass', 'miniflux_auth_token', 'password') }}
- MF_API_URL=https://miniflux.mgrote.net/v1
- MF_SLEEP=600
#- MF_DEBUG=1
TZ: Europe/Berlin
MF_AUTH_TOKEN: {{ lookup('keepass', 'miniflux_auth_token', 'password') }}
MF_API_URL: https://miniflux.mgrote.net/v1
MF_SLEEP: 600
#MF_DEBUG: 1
image: quotengrote/miniflux-filter:latest
volumes:
- ./filter.txt:/data/filter.txt
@ -73,7 +73,7 @@ services:
image: rssbridge/rss-bridge:latest
restart: always
environment:
- TZ=Europe/Berlin
TZ: Europe/Berlin
volumes:
- ./whitelist.txt:/app/whitelist.txt
networks:
@ -91,8 +91,8 @@ services:
volumes:
- changedetection-data:/datastore
environment:
- PORT=5000
- BASE_URL=http://docker10.grote.lan:5000
PORT: 5000
BASE_URL: http://docker10.grote.lan:5000
ports:
- 5000:5000
restart: always

View file

@ -5,25 +5,25 @@ services:
image: quotengrote/munin-server
restart: always
environment:
- MAILCONTACT=michael.grote@posteo.de
- MAILSERVER=smtp.strato.de
- MAILPORT=587
- MAILUSER=info@mgrote.net
- MAILPASSWORD={{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
- MAILFROM=info@mgrote.net
- MAILNAME=Munin-Prod
- MAILDOMAIN=mgrote.net
- TZ=Europe/Berlin
- DISABLELOCALNODE=yes
- CRONDELAY=5
- 'NODES=
fileserver3.grote.lan:fileserver3.grote.lan
acng2.grote.lan:acng2.grote.lan
ansible2.grote.lan:ansible2.grote.lan
pve5.grote.lan:pve5.grote.lan
dokuwiki2.grote.lan:dokuwiki2.grote.lan
gitea.grote.lan:gitea.grote.lan
docker10.grote.lan:docker10.grote.lan'
MAILCONTACT: michael.grote@posteo.de
MAILSERVER: smtp.strato.de
MAILPORT: 587
MAILUSER: info@mgrote.net
MAILPASSWORD: {{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
MAILFROM: info@mgrote.net
MAILNAME: Munin-Prod
MAILDOMAIN: mgrote.net
TZ: Europe/Berlin
DISABLELOCALNODE: yes
CRONDELAY: 5
NODES: |
fileserver3.grote.lan:fileserver3.grote.lan
acng2.grote.lan:acng2.grote.lan
ansible2.grote.lan:ansible2.grote.lan
pve5.grote.lan:pve5.grote.lan
dokuwiki2.grote.lan:dokuwiki2.grote.lan
gitea.grote.lan:gitea.grote.lan
docker10.grote.lan:docker10.grote.lan
# z.B.
# computer-test.grote.lan.test:192.68.2.4
# computer.grote.lan:computer.grote.lan

View file

@ -6,23 +6,23 @@ services:
image: deluan/navidrome:latest
restart: always
environment:
- ND_LOGLEVEL=info
- ND_SESSIONTIMEOUT=24h
- ND_MUSICFOLDER=/music
- ND_DATAFOLDER=/data
- ND_SCANSCHEDULE=6 * * * *
- ND_TRANSCODINGCACHESIZE=500MB
- ND_IMAGECACHESIZE=100MB
- ND_AUTOIMPORTPLAYLISTS=false
- ND_BASEURL=/mg
- ND_ENABLESTARRATING=false
- ND_ENABLEGRAVATAR=false
- ND_LASTFM_ENABLED=false
- ND_ENABLETRANSCODINGCONFIG=true
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- ND_ENABLE_EXTERNAL_SERVICES=false
ND_LOGLEVEL: info
ND_SESSIONTIMEOUT: 24h
ND_MUSICFOLDER: /music
ND_DATAFOLDER: /data
ND_SCANSCHEDULE: 6 * * * *
ND_TRANSCODINGCACHESIZE: 500MB
ND_IMAGECACHESIZE: 100MB
ND_AUTOIMPORTPLAYLISTS: false
ND_BASEURL: /mg
ND_ENABLESTARRATING: false
ND_ENABLEGRAVATAR: false
ND_LASTFM_ENABLED: false
ND_ENABLETRANSCODINGCONFIG: true
PUID: 1000
PGID: 1000
TZ: Europe/Berlin
ND_ENABLE_EXTERNAL_SERVICES: false
volumes:
- musik_smb_mg:/music:ro
- data:/data
@ -35,7 +35,7 @@ services:
- traefik.http.routers.navidrome-mg.tls.certresolver=resolver_letsencrypt
- traefik.http.routers.navidrome-mg.entrypoints=entry_https
- traefik.http.services.navidrome-mg.loadbalancer.server.port=4533
- com.centurylinklabs.watchtower.enable=true
ports:
- "4533:4533"

View file

@ -11,11 +11,11 @@ services:
- /etc/timezone:/etc/timezone:ro
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_INITDB_SKIP_TZINFO=1
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_INITDB_SKIP_TZINFO: 1
networks:
- intern
labels:
@ -45,8 +45,8 @@ services:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/localtime:/etc/localtime:ro
environment:
- NEXTCLOUD_CONTAINER_NAME=nextcloud-app
- NEXTCLOUD_CRON_MINUTE_INTERVAL=1
NEXTCLOUD_CONTAINER_NAME: nextcloud-app
NEXTCLOUD_CRON_MINUTE_INTERVAL: 1
labels:
- com.centurylinklabs.watchtower.enable=true

View file

@ -18,7 +18,7 @@ services:
- "443:443" # HTTPS
- "2222:2222" # SSH
environment:
- TZ=Europe/Berlin
TZ: Europe/Berlin
labels:
- com.centurylinklabs.watchtower.enable=true
######## Networks ########

View file

@ -5,8 +5,8 @@ services:
image: ghcr.io/linuxserver/unifi-controller
container_name: unifi-controller
environment:
- PUID=1000
- PGID=1000
PUID: 1000
PGID: 1000
volumes:
- data:/config
ports:

View file

@ -7,22 +7,22 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=Europe/Berlin
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_RESTARTING=true
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_REVIVE_STOPPED=false
- WATCHTOWER_POLL_INTERVAL=86400 # (24 hours)
- WATCHTOWER_LABEL_ENABLE=true
- WATCHTOWER_NOTIFICATIONS=email
- WATCHTOWER_NOTIFICATION_EMAIL_FROM=info@mgrote.net
- WATCHTOWER_NOTIFICATION_EMAIL_TO=michael.grote@posteo.de
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER=smtp.strato.de
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=info@mgrote.net
- WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD={{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
- WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2
- WATCHTOWER_NO_STARTUP_MESSAGE=true
TZ: Europe/Berlin
WATCHTOWER_CLEANUP: true
WATCHTOWER_INCLUDE_RESTARTING: true
WATCHTOWER_INCLUDE_STOPPED: true
WATCHTOWER_REVIVE_STOPPED: false
WATCHTOWER_POLL_INTERVAL: 86400 # (24 hours)
WATCHTOWER_LABEL_ENABLE: true
WATCHTOWER_NOTIFICATIONS: email
WATCHTOWER_NOTIFICATION_EMAIL_FROM: info@mgrote.net
WATCHTOWER_NOTIFICATION_EMAIL_TO: michael.grote@posteo.de
WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.strato.de
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 587
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: info@mgrote.net
WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: {{ lookup('keepass', 'postfix_absender_passwort', 'password') }}
WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2
WATCHTOWER_NO_STARTUP_MESSAGE: true
labels:
- com.centurylinklabs.watchtower.enable=true