1
0
Fork 0

Standardize env files

This commit is contained in:
Lukáš Kucharczyk 2022-07-28 14:39:14 +02:00
parent 429d501cf1
commit 57974ca522
No known key found for this signature in database
7 changed files with 35 additions and 17 deletions

16
authentik.env Normal file
View File

@ -0,0 +1,16 @@
AUTHENTIK_AUTHENTIK__GEOIP=/geoip/GeoLite2-City.mmdb
AUTHENTIK_EMAIL__FROM=${EMAIL_FROM}
AUTHENTIK_EMAIL__HOST=${EMAIL_HOST}
AUTHENTIK_EMAIL__PASSWORD=${EMAIL_PASSWORD}
AUTHENTIK_EMAIL__PORT=${EMAIL_PORT}
AUTHENTIK_EMAIL__TIMEOUT=10
AUTHENTIK_EMAIL__USE_SSL=false
AUTHENTIK_EMAIL__USE_TLS=true
AUTHENTIK_EMAIL__USERNAME=${EMAIL_FROM}
AUTHENTIK_ERROR_REPORTING__ENABLED=true
AUTHENTIK_PORT_HTTP=9200
AUTHENTIK_PORT_HTTPS=7443
AUTHENTIK_SECRET_KEY=tcVoaScDoqaIyAZDnAq3MYsHIBnzVYPbXzFVsOfWReoqatgsU7
GEOIPUPDATE_ACCOUNT_ID=732732
GEOIPUPDATE_LICENSE_KEY=3NGI4ijkeEfCsjyq
PG_PASS=29PnrjM386yP3w

View File

@ -47,7 +47,8 @@ services:
- ./custom-templates:${DOCKER_STORAGE_PATH}/authentik/templates - ./custom-templates:${DOCKER_STORAGE_PATH}/authentik/templates
- geoip:/geoip - geoip:/geoip
env_file: env_file:
- .env - shared.env
- authentik.env
ports: ports:
- "0.0.0.0:${AUTHENTIK_PORT_HTTP:-9000}:9000" - "0.0.0.0:${AUTHENTIK_PORT_HTTP:-9000}:9000"
- "0.0.0.0:${AUTHENTIK_PORT_HTTPS:-9443}:9443" - "0.0.0.0:${AUTHENTIK_PORT_HTTPS:-9443}:9443"

2
kavita.env Normal file
View File

@ -0,0 +1,2 @@
KAVITA_INTERNAL_PORT=5000
KAVITA_EXTERNAL_PORT=5100

View File

@ -4,16 +4,14 @@ services:
kavita: kavita:
image: kizaing/kavita:latest image: kizaing/kavita:latest
restart: unless-stopped restart: unless-stopped
environment:
PUID: 1000
PGID: 100
volumes: volumes:
- ${STORAGE_PATH}/media/comics:/manga - ${STORAGE_PATH}/media/comics:/manga
- ${DOCKER_STORAGE_PATH}/kavita:/kavita/config - ${DOCKER_STORAGE_PATH}/kavita:/kavita/config
env_file: env_file:
- .env - shared.env
- kavita.env
ports: ports:
- "5100:5000" - ${KAVITA_EXTERNAL_PORT}:${KAVITA_INTERNAL_PORT}
networks: networks:
- internal - internal

View File

6
valheim.env Normal file
View File

@ -0,0 +1,6 @@
SERVER_NAME=LukasJirkaDominik
WORLD_NAME=Mujnovyserver
SERVER_PASS=heslo
VALHEIM_PLUS=true
VALHEIM_INTERNAL_PORT=2456-2457/udp
VALHEIM_EXTERNAL_PORT=2456-2457

View File

@ -6,17 +6,12 @@ services:
image: ghcr.io/lloesche/valheim-server image: ghcr.io/lloesche/valheim-server
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- /docker/valheim/config:/config - ${DOCKER_STORAGE_PATH}/valheim/config:/config
- /docker/valheim/data:/opt/valheim - ${DOCKER_STORAGE_PATH}/valheim/data:/opt/valheim
environment: env_file:
- SERVER_NAME=LukasJirkaDominik - shared.env
- WORLD_NAME=Mujnovyserver - valheim.env
- SERVER_PASS=heslo
- PUID=1000
- PGID=100
- TZ=Europe/Prague
- VALHEIM_PLUS=true
ports: ports:
- "2456-2457:2456-2457/udp" - ${VALHEIM_EXTERNAL_PORT}:${VALHEIM_INTERNAL_PORT}
cap_add: cap_add:
- SYS_NICE - SYS_NICE