Add timezone to containers to keep them in sync

Also, fix some white spacing issues as well at the volume db level.
This commit is contained in:
Zachary Laughlin 2023-07-10 01:59:00 -07:00 committed by GitHub
parent 85f1c7754f
commit 2b44fd284e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,10 @@ services:
aliases: aliases:
- "$MYSQL_HOST" - "$MYSQL_HOST"
volumes: volumes:
- db_data:/var/lib/mysql - db_data:/var/lib/mysql
- ./pathfinder/export/sql/eve_universe.sql.zip:/eve_universe.sql.zip - ./pathfinder/export/sql/eve_universe.sql.zip:/eve_universe.sql.zip
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: always restart: always
pf-redis: pf-redis:
image: redis:6.2.5-alpine3.14 image: redis:6.2.5-alpine3.14
@ -19,6 +21,8 @@ services:
container_name: redis container_name: redis
volumes: volumes:
- redis_data:/data - redis_data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks: networks:
pf: pf:
aliases: aliases:
@ -34,6 +38,9 @@ services:
pf: pf:
aliases: aliases:
- "$PATHFINDER_SOCKET_HOST" - "$PATHFINDER_SOCKET_HOST"
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
restart: always restart: always
pf: pf:
container_name: pathfinder container_name: pathfinder
@ -62,6 +69,8 @@ services:
- ./config/pathfinder/pathfinder.ini:/var/www/html/pathfinder/app/pathfinder.ini - ./config/pathfinder/pathfinder.ini:/var/www/html/pathfinder/app/pathfinder.ini
- ./config/pathfinder/plugin.ini:/var/www/html/pathfinder/app/plugin.ini - ./config/pathfinder/plugin.ini:/var/www/html/pathfinder/app/plugin.ini
- ./logs:/var/www/html/pathfinder/history/map - ./logs:/var/www/html/pathfinder/history/map
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on: depends_on:
- pfdb - pfdb
- pf-redis - pf-redis
@ -88,8 +97,10 @@ services:
- "443:443" - "443:443"
- "8080:8080" - "8080:8080"
volumes: volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro" - /var/run/docker.sock:/var/run/docker.sock:ro
- "./letsencrypt:/letsencrypt" - ./letsencrypt:/letsencrypt
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks: networks:
- web - web
restart: always restart: always