Fixing many issues.

This commit is contained in:
2025-08-14 19:26:18 -07:00
parent 00192edbb3
commit ea2ee884a4
6 changed files with 65 additions and 8 deletions

View File

@@ -0,0 +1,50 @@
version: '3'
services:
db:
image: postgres
shm_size: 128mb
restart: always
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=password
networks:
- internal
redis:
image: redis:alpine
restart: always
networks:
- internal
nextcloud:
image: nextcloud
environment:
- POSTGRES_HOST=db
- POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud
- POSTGRES_PASSWORD=password
- NEXTCLOUD_ADMIN_PASSWORD=password
- NEXTCLOUD_ADMIN_USER=admin
- REDIS_HOST=redis
- NEXTCLOUD_TRUSTED_DOMAINS=nextcloud1.nassella.cc
ports:
- "8080:80"
depends_on:
- redis
- db
networks:
- lb
- internal
volumes:
- nextcloud:/var/www
restart: unless-stopped
networks:
lb:
internal:
driver: bridge
internal: true
volumes:
db:
nextcloud: