mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Add backup config and fix timezone in containers
This commit is contained in:
parent
9f7679c7aa
commit
fe296230a8
15 changed files with 73 additions and 13 deletions
|
|
@ -10,6 +10,7 @@ services:
|
|||
image: nginx
|
||||
volumes:
|
||||
- ./config/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
links:
|
||||
- app
|
||||
- collabora
|
||||
|
|
@ -34,6 +35,7 @@ services:
|
|||
- ./config:/var/www/html/config
|
||||
- /var/lib/nextcloud/data:/var/www/html/data
|
||||
- /media:/media
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
networks:
|
||||
- proxy-tier
|
||||
restart: always
|
||||
|
|
@ -43,6 +45,7 @@ services:
|
|||
volumes:
|
||||
- /var/lib/nextcloud/db:/var/lib/mysql
|
||||
- /backups/nextcloud:/backups
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
||||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue