2023-08-03 00:38:17 +00:00
services :
nextcloud :
2024-06-07 16:10:29 +00:00
image : linuxserver/nextcloud:28.0.3-ls308
2023-08-03 00:38:17 +00:00
container_name : nextcloud
environment :
- PUID=1001
- PGID=1001
- TZ=America/New_York
volumes :
- config:/config
- data:/data
2024-01-13 21:50:00 +00:00
- /home/meftimes/sync:/sync
2023-08-03 00:38:17 +00:00
depends_on :
- mariadb
labels :
- "traefik.enable=true"
2024-06-07 16:10:29 +00:00
- "traefik.http.routers.nextcloud.entrypoints=websecure"
- "traefik.http.routers.nextcloud.rule=Host(`nextcloud.meftimes.com`)"
- "traefik.http.services.nextcloud.loadbalancer.server.port=80"
2023-08-03 00:38:17 +00:00
networks :
- proxy
- backend
restart : unless-stopped
mariadb :
2023-11-14 01:25:52 +00:00
image : linuxserver/mariadb
2023-08-03 00:38:17 +00:00
container_name : mariadb
env_file :
- .env
volumes :
- mariadb:/config
networks :
- backend
restart : unless-stopped
volumes :
config :
data :
mariadb :
networks :
proxy :
external : true
backend :
external : true
2024-01-13 21:50:00 +00:00
#mariadb
#database user:
#root
#database password:
#MYSQL_ROOT_PASSWORD field
#database name:
#nextcloud
#database host:
#mariadb
2024-06-07 16:10:29 +00:00
#
# add `'overwriteprotocal' => 'https',` to `.config/www/nextcloud/config/config.php` inside docker container to allow mobile phone to connect and stay signed in
# enable "external files storage" under adminitrative settings (scroll down because UI is poorly laid out)
# if experiencing problems enable apps (such as external file storage) run `occ app:enable files_external` inside docker container
# use `occ app:list` to see all apps