This commit is contained in:
Braden Jageman 2024-04-16 23:03:11 -04:00
parent 15a6819256
commit 04b84225c0
2 changed files with 13 additions and 36 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.env .env
config/ config/
nextcloud

View File

@ -244,47 +244,23 @@ services:
volumes: volumes:
- db-home:/var/lib/mysql - db-home:/var/lib/mysql
#Nextcloud #Nextcloud
nc-db: nextcloud:
image: mariadb image: lscr.io/linuxserver/nextcloud:latest
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW container_name: nextcloud
restart: always
volumes:
- nc-db:/var/lib/mysql
env_file:
- ./nextcloud/db.env
nc-redis:
image: redis
restart: always
nc-app:
build: ./nextcloud/app
restart: always
ports:
- 5234:80
volumes:
- nextcloud:/var/www/html
- /media/storage/Cloud/Nextcloud:/storage
environment: environment:
- NEXTCLOUD_DATA_DIR=/storage - PUID=1000
- MYSQL_HOST=nc-db - PGID=1000
- VIRTUAL_HOST=cloud.${DOMAIN} - TZ=Etc/UTC
env_file: - VIRTUAL_HOST=nextcloud.${DOMAIN}
- ./nextcloud/db.env
depends_on:
- nc-db
- nc-redis
cron:
build: ./nextcloud/app
restart: always
volumes: volumes:
- nextcloud:/var/www/html - ./config/nextcloud:/config
entrypoint: /cron.sh - ./nextcloud:/data
depends_on: ports:
- nc-db - 443:443
- nc-redis restart: unless-stopped
volumes: volumes:
nc-db: nc-db:
nextcloud:
wordpress-home: wordpress-home:
db-home: db-home:
wordpress-botc: wordpress-botc: