fix: timezone mistmatch when running was fixed
This commit is contained in:
+29
-4
@@ -160,6 +160,8 @@ services:
|
|||||||
- /var/lib/sonarr:/config # had migrated into docker compose
|
- /var/lib/sonarr:/config # had migrated into docker compose
|
||||||
- ${DISK1}:${DISK1}
|
- ${DISK1}:${DISK1}
|
||||||
- ${DISK2}:${DISK2}
|
- ${DISK2}:${DISK2}
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
labels:
|
labels:
|
||||||
- "autoheal=true"
|
- "autoheal=true"
|
||||||
network_mode: "container:gluetun"
|
network_mode: "container:gluetun"
|
||||||
@@ -185,6 +187,8 @@ services:
|
|||||||
- /var/lib/radarr:/config # had migrated into docker compose
|
- /var/lib/radarr:/config # had migrated into docker compose
|
||||||
- ${DISK1}:${DISK1}
|
- ${DISK1}:${DISK1}
|
||||||
- ${DISK2}:${DISK2}
|
- ${DISK2}:${DISK2}
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
labels:
|
labels:
|
||||||
- "autoheal=true"
|
- "autoheal=true"
|
||||||
network_mode: "container:gluetun"
|
network_mode: "container:gluetun"
|
||||||
@@ -211,6 +215,8 @@ services:
|
|||||||
- /var/lib/lidarr:/config
|
- /var/lib/lidarr:/config
|
||||||
- ${DISK1}:${DISK1}
|
- ${DISK1}:${DISK1}
|
||||||
- ${DISK2}:${DISK2}
|
- ${DISK2}:${DISK2}
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
labels:
|
labels:
|
||||||
- "autoheal=true"
|
- "autoheal=true"
|
||||||
network_mode: "container:gluetun"
|
network_mode: "container:gluetun"
|
||||||
@@ -297,6 +303,8 @@ services:
|
|||||||
- ./homepage/images:/app/public/images
|
- ./homepage/images:/app/public/images
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
|
- /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations
|
||||||
- ./gluetun-data:/tmp/gluetun:ro # get the port from port-updater
|
- ./gluetun-data:/tmp/gluetun:ro # get the port from port-updater
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
environment:
|
environment:
|
||||||
- "HOMEPAGE_ALLOWED_HOSTS=gethomepage.dev,${LOCAL_IPV4}:${HOMEPAGE_PORT},${SERVER_NAME}:${HOMEPAGE_PORT},100.76.249.110:${HOMEPAGE_PORT},${SERVER_NAME}.tail:${HOMEPAGE_PORT},${EXTERNAL_IPV4}:${HOMEPAGE_PORT},${WEB_NAME}:${HOMEPAGE_PORT},${WEB_NAME},172.17.0.1:${HOMEPAGE_PORT}" # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts
|
- "HOMEPAGE_ALLOWED_HOSTS=gethomepage.dev,${LOCAL_IPV4}:${HOMEPAGE_PORT},${SERVER_NAME}:${HOMEPAGE_PORT},100.76.249.110:${HOMEPAGE_PORT},${SERVER_NAME}.tail:${HOMEPAGE_PORT},${EXTERNAL_IPV4}:${HOMEPAGE_PORT},${WEB_NAME}:${HOMEPAGE_PORT},${WEB_NAME},172.17.0.1:${HOMEPAGE_PORT}" # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts
|
||||||
- "HOMEPAGE_VAR_DISK1=${DISK1}"
|
- "HOMEPAGE_VAR_DISK1=${DISK1}"
|
||||||
@@ -341,6 +349,7 @@ services:
|
|||||||
- "HOMEPAGE_VAR_SEERR_HOST=${WEB_PROTOCOL}://${SERVER_NAME}:${SEERR_PORT}"
|
- "HOMEPAGE_VAR_SEERR_HOST=${WEB_PROTOCOL}://${SERVER_NAME}:${SEERR_PORT}"
|
||||||
- "HOMEPAGE_VAR_MYSPEED_HOST=${WEB_PROTOCOL}://${SERVER_NAME}:${MYSPEED_PORT}"
|
- "HOMEPAGE_VAR_MYSPEED_HOST=${WEB_PROTOCOL}://${SERVER_NAME}:${MYSPEED_PORT}"
|
||||||
- "HOMEPAGE_VAR_TERMIX_HOST=${WEB_PROTOCOL}://${SERVER_NAME}:${TERMIX_PORT}"
|
- "HOMEPAGE_VAR_TERMIX_HOST=${WEB_PROTOCOL}://${SERVER_NAME}:${TERMIX_PORT}"
|
||||||
|
- TZ=${TIMEZONE}
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "host.docker.internal:host-gateway"
|
- "host.docker.internal:host-gateway"
|
||||||
#networks:
|
#networks:
|
||||||
@@ -359,10 +368,13 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /etc/os-release:/etc/os-release:ro
|
- /etc/os-release:/etc/os-release:ro
|
||||||
- /:/host:ro
|
- /:/host:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
environment:
|
environment:
|
||||||
- GLANCES_OPT=-w
|
- GLANCES_OPT=-w
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
- TZ=${TIMEZONE}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
autoheal:
|
autoheal:
|
||||||
@@ -374,6 +386,8 @@ services:
|
|||||||
- AUTOHEAL_START_PERIOD=60
|
- AUTOHEAL_START_PERIOD=60
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
seerr:
|
seerr:
|
||||||
@@ -381,14 +395,16 @@ services:
|
|||||||
init: true
|
init: true
|
||||||
container_name: seerr
|
container_name: seerr
|
||||||
ports:
|
ports:
|
||||||
- ${SEERR_PORT}:${SEERR_PORT}
|
- 5055:${SEERR_PORT}
|
||||||
environment:
|
environment:
|
||||||
- LOG_LEVEL=debug
|
- LOG_LEVEL=debug
|
||||||
- TZ=${TIMEZONE}
|
- TZ=America/Los_Angeles
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
volumes:
|
volumes:
|
||||||
- "./seerr:/app/config"
|
- "./seerr:/app/config"
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
working_dir: "/app"
|
working_dir: "/app"
|
||||||
labels:
|
labels:
|
||||||
- "autoheal=true"
|
- "autoheal=true"
|
||||||
@@ -412,7 +428,7 @@ services:
|
|||||||
- "NODE_VERSION=18.20.3"
|
- "NODE_VERSION=18.20.3"
|
||||||
- "YARN_VERSION=1.22.19"
|
- "YARN_VERSION=1.22.19"
|
||||||
- "NODE_ENV=production"
|
- "NODE_ENV=production"
|
||||||
- "TZ=Etc/UTC"
|
- TZ=${TIMEZONE}
|
||||||
hostname: "4b5e3178fcc4"
|
hostname: "4b5e3178fcc4"
|
||||||
image: "germannewsmaker/myspeed"
|
image: "germannewsmaker/myspeed"
|
||||||
ipc: "private"
|
ipc: "private"
|
||||||
@@ -425,6 +441,8 @@ services:
|
|||||||
- "${MYSPEED_PORT}:${MYSPEED_PORT}/tcp"
|
- "${MYSPEED_PORT}:${MYSPEED_PORT}/tcp"
|
||||||
volumes:
|
volumes:
|
||||||
- "myspeed:/myspeed/data"
|
- "myspeed:/myspeed/data"
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
working_dir: "/myspeed"
|
working_dir: "/myspeed"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
@@ -439,7 +457,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- termix-data:/app/data
|
- termix-data:/app/data
|
||||||
environment:
|
environment:
|
||||||
PORT: "${TERMIX_PORT}"
|
- "PORT: ${TERMIX_PORT}"
|
||||||
|
- "TZ: {TIMEZONE}"
|
||||||
networks:
|
networks:
|
||||||
- termix-net
|
- termix-net
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -459,6 +478,8 @@ services:
|
|||||||
# volumes:
|
# volumes:
|
||||||
# - "./etc-pihole:/etc/pihole"
|
# - "./etc-pihole:/etc/pihole"
|
||||||
# - "./etc-dnsmasq.d:/etc/dnsmasq.d"
|
# - "./etc-dnsmasq.d:/etc/dnsmasq.d"
|
||||||
|
# - /etc/localtime:/etc/localtime:ro
|
||||||
|
# - /etc/timezone:/etc/timezone:ro
|
||||||
# cap_add:
|
# cap_add:
|
||||||
# - NET_ADMIN
|
# - NET_ADMIN
|
||||||
# restart: unless-stopped
|
# restart: unless-stopped
|
||||||
@@ -478,6 +499,7 @@ services:
|
|||||||
TORRENTS_CSV_DB_HOST: "postgres://postgres:password@db"
|
TORRENTS_CSV_DB_HOST: "postgres://postgres:password@db"
|
||||||
TORRENTS_CSV_FRONT_END_DIR: /app/dist
|
TORRENTS_CSV_FRONT_END_DIR: /app/dist
|
||||||
RUST_LOG: DEBUG
|
RUST_LOG: DEBUG
|
||||||
|
TIMEZONE: ${TIMEZONE}
|
||||||
depends_on:
|
depends_on:
|
||||||
- db # search at 'http://shaan-server:8902/service/search?q={SEARCH_TERM'
|
- db # search at 'http://shaan-server:8902/service/search?q={SEARCH_TERM'
|
||||||
|
|
||||||
@@ -489,11 +511,14 @@ services:
|
|||||||
- ./init-database.sh:/docker-entrypoint-initdb.d/init-database.sh
|
- ./init-database.sh:/docker-entrypoint-initdb.d/init-database.sh
|
||||||
- ./init-database.sql:/var/lib/postgresql/init-database.sql
|
- ./init-database.sql:/var/lib/postgresql/init-database.sql
|
||||||
- ./torrents.csv:/var/lib/postgresql/torrents.csv
|
- ./torrents.csv:/var/lib/postgresql/torrents.csv
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:5433:5432"
|
- "127.0.0.1:5433:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: password
|
||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
|
TIMEZONE: ${TIMEZONE}
|
||||||
|
|
||||||
# caddy:
|
# caddy:
|
||||||
# build:
|
# build:
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
description: Local AI Models
|
description: Local AI Models
|
||||||
- "llama.cpp (shaan-pc)":
|
- "llama.cpp (shaan-pc)":
|
||||||
icon: sh-llama-cpp-light
|
icon: sh-llama-cpp-light
|
||||||
href: "http://192.168.50.6:5078"
|
href: "http://192.168.50.6:5078/v1/health"
|
||||||
siteMonitor: http://192.168.50.6:5078
|
siteMonitor: http://192.168.50.6:5078
|
||||||
description: 42GB VRAM + 32GB RAM
|
description: 42GB VRAM + 32GB RAM
|
||||||
- "Pi-Hole Adblocker":
|
- "Pi-Hole Adblocker":
|
||||||
|
|||||||
Reference in New Issue
Block a user