mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Adapt for Ubuntu and prepare for migration to Hetzner
This commit is contained in:
parent
38237337fc
commit
3090cc6818
26 changed files with 94 additions and 123 deletions
|
|
@ -31,12 +31,10 @@ services:
|
|||
volumes:
|
||||
- /var/lib/nextcloud:/var/www/html
|
||||
- ./config:/var/www/html/config
|
||||
- /media:/media
|
||||
- /data:/media
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- MYSQL_HOST=db
|
||||
env_file:
|
||||
- db.env
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
@ -54,8 +52,6 @@ services:
|
|||
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
||||
- MYSQL_USER=${MYSQL_USER}
|
||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
||||
env_file:
|
||||
- db.env
|
||||
restart: always
|
||||
|
||||
redis:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue