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" version: "3.8"
services: services:
db: next-cloud:
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:
image: nextcloud:29 image: nextcloud:29
ports: ports:
- 8080:80 - 8080:80
environment: environment:
POSTGRES_HOST: db POSTGRES_HOST: postgres-db
POSTGRES_DB: nextcloud POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: strongpassword POSTGRES_PASSWORD: strongpassword
volumes: volumes:
- nextcloud_data:/var/www/html - nextcloud_data:/var/www/html
depends_on:
- db
networks: networks:
- nextcloud_net - nextcloud_net
deploy: deploy:
@ -37,9 +20,10 @@ services:
condition: on-failure condition: on-failure
volumes: volumes:
db_data:
nextcloud_data: nextcloud_data:
networks: networks:
nextcloud_net: nextcloud_net:
driver: overlay driver: overlay
postgres_network:
external: true