Added volumes to sync container and host time
This commit is contained in:
@@ -24,6 +24,8 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- Data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
volumes:
|
||||
Data:
|
||||
|
||||
@@ -22,6 +22,8 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- Data:/data
|
||||
- Repo:/repo
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
volumes:
|
||||
Data:
|
||||
|
||||
@@ -31,6 +31,8 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- Content:/var/lib/ghost/content
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
public-proxy:
|
||||
|
||||
@@ -34,6 +34,8 @@ services:
|
||||
volumes:
|
||||
- Logo:/var/www/app/public/logo
|
||||
- Storage:/var/www/app/storage
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
cron:
|
||||
image: invoiceninja/invoiceninja:latest
|
||||
dns:
|
||||
@@ -94,6 +96,8 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- Database:/var/lib/mysql
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
web:
|
||||
image: nginx
|
||||
command: [nginx-debug, '-g', 'daemon off;']
|
||||
|
||||
@@ -36,6 +36,8 @@ services:
|
||||
volumes:
|
||||
- Application:/var/www/html
|
||||
- UserData:/var/www/html/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
mysql:
|
||||
image: mysql:5
|
||||
dns:
|
||||
@@ -54,6 +56,8 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- Database:/var/lib/mysql
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
public-proxy:
|
||||
|
||||
@@ -32,7 +32,8 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${APP_DIR}:/var/lib/snipeit
|
||||
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
mysql:
|
||||
image: mysql:5
|
||||
dns:
|
||||
@@ -53,6 +54,8 @@ services:
|
||||
restart: on-failure
|
||||
volumes:
|
||||
- ${STORAGE_BASE_DIR}${DB_DIR}:/var/lib/mysql
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
snipe-net:
|
||||
@@ -25,6 +25,8 @@ services:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /RancherConfig/${DATA_DIR}/traefik.toml:/traefik.toml
|
||||
- /RancherConfig/${DATA_DIR}/acme.json:/acme.json
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
public-proxy:
|
||||
Reference in New Issue
Block a user