container-server/services/nextcloud/docker-compose.yml
Renovate Bot 1cae697520 chore(deps): update postgres docker tag to v16 (#11)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| postgres | major | `15-alpine` -> `16-alpine` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTguMCIsInVwZGF0ZWRJblZlciI6IjM3LjExOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Reviewed-on: carsten/container-server#11
Co-authored-by: Renovate Bot <renovate@git.csprung.de>
Co-committed-by: Renovate Bot <renovate@git.csprung.de>
2024-01-03 18:56:26 +01:00

82 lines
2.8 KiB
YAML

version: '3.7'
# https://hub.docker.com/_/nextcloud/
# https://github.com/nextcloud/docker
# https://docs.nextcloud.com/server/stable/admin_manual/release_schedule.html
# disable cert verification for local smtp connection:
# https://docs.nextcloud.com/server/26/admin_manual/configuration_server/email_configuration.html#tlspeerverification
# https://blog.cubieserver.de/2022/complete-guide-to-nextcloud-oidc-authentication-with-authentik/
# create admin account during setup
networks:
nextcloud:
services:
nextcloud:
image: nextcloud:28
container_name: nextcloud
restart: "${RESTART:-no}"
hostname: cloud
domainname: ${BASE_DOMAIN}
environment:
- APACHE_DISABLE_REWRITE_IP=1
- TRUSTED_PROXIES=10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
- OVERWRITEPROTOCOL=https
- POSTGRES_HOST=pg-nextcloud
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=${NEXTCLOUD_PG_PWD:-password}
- REDIS_HOST=redis-nextcloud
volumes:
- ${BASE_DIR:-/srv}/nextcloud/html:/var/www/html # Main folder, needed for updating
- ${BASE_DIR:-/srv}/nextcloud/apps:/var/www/html/custom_apps # installed / modified apps
- ${BASE_DIR:-/srv}/nextcloud/config:/var/www/html/config # local configuration
- ${BASE_DIR:-/srv}/nextcloud/data:/var/www/html/data # the actual data of your Nextcloud
- ${BASE_DIR:-/srv}/nextcloud/themes:/var/www/html/themes # theming/branding
depends_on:
- pg-nextcloud
- redis-nextcloud
networks:
- proxy
- mail
- nextcloud
nextcloud-cron:
image: nextcloud:28
container_name: nextcloud-cron
restart: "${RESTART:-no}"
entrypoint: /cron.sh
volumes:
- ${BASE_DIR:-/srv}/nextcloud/html:/var/www/html # Main folder, needed for updating
- ${BASE_DIR:-/srv}/nextcloud/apps:/var/www/html/custom_apps # installed / modified apps
- ${BASE_DIR:-/srv}/nextcloud/config:/var/www/html/config # local configuration
- ${BASE_DIR:-/srv}/nextcloud/data:/var/www/html/data # the actual data of your Nextcloud
- ${BASE_DIR:-/srv}/nextcloud/themes:/var/www/html/themes # theming/branding
depends_on:
- pg-nextcloud
- redis-nextcloud
networks:
- nextcloud
pg-nextcloud:
image: postgres:16-alpine
container_name: pg-nextcloud
restart: "${RESTART:-no}"
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=${NEXTCLOUD_PG_PWD:-password}
volumes:
- ${BASE_DIR:-/srv}/nextcloud/psql:/var/lib/postgresql/data
networks:
- nextcloud
redis-nextcloud:
image: redis:7-alpine
container_name: redis-nextcloud
restart: "${RESTART:-no}"
networks:
- nextcloud