This commit is contained in:
Peter Smit
2025-03-30 10:01:45 +02:00
parent 02f64c7677
commit 1f09e376e4

View File

@@ -8,6 +8,8 @@ services:
POSTGRES_DB: ${NEXTCLOUD_POSTGRES_DB} POSTGRES_DB: ${NEXTCLOUD_POSTGRES_DB}
POSTGRES_USER: ${NEXTCLOUD_POSTGRES_USER} POSTGRES_USER: ${NEXTCLOUD_POSTGRES_USER}
POSTGRES_PASSWORD: ${NEXTCLOUD_POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${NEXTCLOUD_POSTGRES_PASSWORD}
networks:
- nextcloud
nextcloud: nextcloud:
image: nextcloud:31.0.2 image: nextcloud:31.0.2
restart: always restart: always
@@ -25,6 +27,8 @@ services:
- REDIS_HOST=nextcloud-redis - REDIS_HOST=nextcloud-redis
- REDIS_PORT=6379 - REDIS_PORT=6379
- NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN} - NEXTCLOUD_TRUSTED_DOMAINS=${NEXTCLOUD_DOMAIN}
networks:
- nextcloud
cron: cron:
image: nextcloud:31.0.2 image: nextcloud:31.0.2
container_name: nextcloud-cron container_name: nextcloud-cron
@@ -32,6 +36,13 @@ services:
- ${NEXTCLOUD_DATA_DIR}:/var/www/html - ${NEXTCLOUD_DATA_DIR}:/var/www/html
entrypoint: /cron.sh entrypoint: /cron.sh
restart: unless-stopped restart: unless-stopped
networks:
- nextcloud
nextcloud-redis: nextcloud-redis:
image: redis:7 image: redis:7
restart: always restart: always
networks:
- nextcloud
networks:
nextcloud: