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