update nextcloud

This commit is contained in:
emrekirman 2025-08-12 14:33:29 +00:00
parent b7ed9d9bec
commit e723db65b6

View File

@ -1,34 +1,17 @@
version: "3.8"
services:
db:
image: postgres:16
environment:
POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: strongpassword
volumes:
- db_data:/var/lib/postgresql/data
networks:
- nextcloud_net
deploy:
replicas: 1
restart_policy:
condition: on-failure
app:
next-cloud:
image: nextcloud:29
ports:
- 8080:80
environment:
POSTGRES_HOST: db
POSTGRES_HOST: postgres-db
POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: strongpassword
volumes:
- nextcloud_data:/var/www/html
depends_on:
- db
networks:
- nextcloud_net
deploy:
@ -37,9 +20,10 @@ services:
condition: on-failure
volumes:
db_data:
nextcloud_data:
networks:
nextcloud_net:
driver: overlay
postgres_network:
external: true