add nextcloud-app-cron container
This commit is contained in:
parent
f3cd9f65b3
commit
cd87e3a146
1 changed files with 17 additions and 2 deletions
|
@ -118,7 +118,7 @@ services:
|
||||||
container_name: "nextcloud-app"
|
container_name: "nextcloud-app"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
<<: *logging
|
<<: *logging
|
||||||
links:
|
depends_on:
|
||||||
- nextcloud-db
|
- nextcloud-db
|
||||||
volumes:
|
volumes:
|
||||||
- ./nextcloud-app/nextcloud:/var/www/html
|
- ./nextcloud-app/nextcloud:/var/www/html
|
||||||
|
@ -133,7 +133,7 @@ services:
|
||||||
# reverse proxy setup
|
# reverse proxy setup
|
||||||
- APACHE_DISABLE_REWRITE_IP=1
|
- APACHE_DISABLE_REWRITE_IP=1
|
||||||
- TRUSTED_PROXIES=192.168.128.0/24
|
- TRUSTED_PROXIES=192.168.128.0/24
|
||||||
- NEXTCLOUD_TRUSTED_DOMAINS=*
|
- NEXTCLOUD_TRUSTED_DOMAINS=oxmox.dev
|
||||||
# PHP tuning
|
# PHP tuning
|
||||||
- PHP_MEMORY_LIMIT=256M # default=512M
|
- PHP_MEMORY_LIMIT=256M # default=512M
|
||||||
- PHP_UPLOAD_LIMIT=512M # default=512M
|
- PHP_UPLOAD_LIMIT=512M # default=512M
|
||||||
|
@ -159,6 +159,21 @@ services:
|
||||||
- "traefik.http.middlewares.nextcloud_app_dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav"
|
- "traefik.http.middlewares.nextcloud_app_dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav"
|
||||||
- "traefik.http.middlewares.nextcloud_app_dav.replacepathregex.replacement=/remote.php/dav/"
|
- "traefik.http.middlewares.nextcloud_app_dav.replacepathregex.replacement=/remote.php/dav/"
|
||||||
|
|
||||||
|
nextcloud-app-cron:
|
||||||
|
image: nextcloud:stable
|
||||||
|
container_name: "nextcloud-app-cron"
|
||||||
|
restart: unless-stopped
|
||||||
|
<<: *logging
|
||||||
|
volumes:
|
||||||
|
- ./nextcloud-app/nextcloud:/var/www/html
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
entrypoint: /cron.sh
|
||||||
|
depends_on:
|
||||||
|
- nextcloud-app
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
|
||||||
forgejo-db:
|
forgejo-db:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
container_name: "forgejo-db"
|
container_name: "forgejo-db"
|
||||||
|
|
Loading…
Reference in a new issue