Change stuff

This commit is contained in:
Isaac Shoebottom 2024-09-19 11:02:38 -03:00
parent 2330fec9c7
commit 22217112b9

View File

@ -8,11 +8,12 @@ services:
volumes: volumes:
- /docker/appdata/nextcloud/postgres:/var/lib/postgresql/data - /docker/appdata/nextcloud/postgres:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD= - POSTGRES_PASSWORD=nextcloud
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud - POSTGRES_USER=nextcloud
redis: redis:
container_name: nextcloud_redis
image: redis:alpine image: redis:alpine
restart: always restart: always
@ -26,10 +27,10 @@ services:
- /docker/appdata/nextcloud/nextcloud:/var/www/html - /docker/appdata/nextcloud/nextcloud:/var/www/html
environment: environment:
- POSTGRES_HOST=db - POSTGRES_HOST=db
- REDIS_HOST=redis
- POSTGRES_PASSWORD=
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud - POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=nextcloud
- REDIS_HOST=redis
depends_on: depends_on:
- db - db
- redis - redis