redis,cron - hostnames for resolution to resolve redis connection errors in data/nextcloud.log
This commit is contained in:
parent
a92b993be6
commit
2c8417771d
@ -15,7 +15,10 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
hostname: redis
|
||||||
restart: always
|
restart: always
|
||||||
|
networks:
|
||||||
|
- podman
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:stable-fpm
|
image: nextcloud:stable-fpm
|
||||||
@ -70,6 +73,8 @@ services:
|
|||||||
- /home/{{ user.name }}/webroot:/var/www/html:z
|
- /home/{{ user.name }}/webroot:/var/www/html:z
|
||||||
# NOTE: The `volumes` config of the `cron` and `app` containers must match
|
# NOTE: The `volumes` config of the `cron` and `app` containers must match
|
||||||
entrypoint: /cron.sh
|
entrypoint: /cron.sh
|
||||||
|
networks:
|
||||||
|
- podman
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
- redis
|
- redis
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user