changed back to default compose

This commit is contained in:
2024-06-30 19:00:44 -05:00
parent f1d910bf45
commit 67b4047a5b

View File

@@ -2,10 +2,8 @@ services:
db:
image: postgres:alpine
restart: always
networks:
- nextcloud
volumes:
- ./postgresql/data:/var/lib/postgresql/data:z
- db:/var/lib/postgresql/data:z
env_file:
- db.env
@@ -16,10 +14,8 @@ services:
app:
image: nextcloud:fpm-alpine
restart: always
networks:
- nextcloud
volumes:
- ./nextcloud:/var/www/html:z
- nextcloud:/var/www/html:z
environment:
- POSTGRES_HOST=db
- REDIS_HOST=redis
@@ -32,31 +28,23 @@ services:
web:
build: ./web
restart: always
networks:
- nextcloud
- reverse-proxy
ports:
- 8222:80
- 127.0.0.1:8080:80
volumes:
- ./nextcloud:/var/www/html:z,ro
- nextcloud:/var/www/html:z,ro
depends_on:
- app
cron:
image: nextcloud:fpm-alpine
restart: always
networks:
- nextcloud
volumes:
- ./nextcloud:/var/www/html:z
- nextcloud:/var/www/html:z
entrypoint: /cron.sh
depends_on:
- db
- redis
networks:
reverse-proxy:
name: reverse-proxy
external: true
volumes:
db:
nextcloud:
name: nextcloud