nextcloud/docker-compose.yml hinzugefügt
This commit is contained in:
parent
d77c654b45
commit
0c172dfd67
1 changed files with 53 additions and 0 deletions
53
nextcloud/docker-compose.yml
Normal file
53
nextcloud/docker-compose.yml
Normal file
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
services:
|
||||
nc_db:
|
||||
image: mariadb:10.5
|
||||
container_name: nc_db
|
||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=Subatomic-Lapping0-Untagged-Deceptive-Judge
|
||||
- MARIADB_AUTO_UPGRADE=1
|
||||
- MARIADB_DISABLE_UPGRADE_BACKUP=1
|
||||
env_file:
|
||||
- db.env
|
||||
|
||||
nc_redis:
|
||||
image: redis:alpine
|
||||
container_name: nc_redis
|
||||
restart: unless-stopped
|
||||
|
||||
nc_app:
|
||||
image: nextcloud:apache
|
||||
container_name: nc_app
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/nextcloud:/var/www/html
|
||||
ports:
|
||||
- "127.0.0.1:28080:80"
|
||||
environment:
|
||||
- MYSQL_HOST=nc_db
|
||||
- REDIS_HOST=nc_redis
|
||||
- TRUSTED_PROXIES=nginx-proxy
|
||||
- OVERWRITEHOST=cloud.smail.koeln
|
||||
- OVERWRITEPROTOCOL=https
|
||||
- OVERWRITEWEBROOT=/
|
||||
- PHP_UPLOAD_LIMIT=1G
|
||||
env_file:
|
||||
- db.env
|
||||
depends_on:
|
||||
- nc_db
|
||||
- nc_redis
|
||||
|
||||
nc_cron:
|
||||
image: nextcloud:apache
|
||||
container_name: nc_cron
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./volumes/nextcloud:/var/www/html
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
- nc_db
|
||||
- nc_redis
|
Loading…
Add table
Add a link
Reference in a new issue