mirror of
https://github.com/CoolnsX/selfhost.git
synced 2025-12-20 07:15:17 +05:30
Feat: Replaced Nextcloud AIO with manual nextcloud
This commit is contained in:
@@ -103,7 +103,7 @@ services:
|
|||||||
- 7359:7359/udp # optional
|
- 7359:7359/udp # optional
|
||||||
- 1900:1900/udp # optional
|
- 1900:1900/udp # optional
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri/renderD128
|
- /dev/dri:/dev/dri
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
|
||||||
|
|||||||
@@ -1,32 +1,49 @@
|
|||||||
services:
|
services:
|
||||||
nextcloud:
|
db:
|
||||||
image: nextcloud/all-in-one:latest
|
container_name: nextcloud_db
|
||||||
|
image: mariadb:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: nextcloud-aio-mastercontainer
|
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||||
ports:
|
volumes:
|
||||||
- "8080:8080"
|
- ./db:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- AIO_DISABLE_BACKUP_SECTION=true
|
- MARIADB_ROOT_PASSWORD=$MARIADB_ROOT_PASSWORD
|
||||||
- APACHE_PORT=11000
|
- MARIADB_PASSWORD=$MARIADB_PASSWORD
|
||||||
- APACHE_IP_BINDING=0.0.0.0
|
- MARIADB_DATABASE=nextcloud
|
||||||
- NEXTCLOUD_MOUNT=/media/vault/nextcloud/
|
- MARIADB_USER=nextcloud
|
||||||
- NEXTCLOUD_ENABLE_DRI_DEVICE=true
|
|
||||||
- NEXTCLOUD_UPLOAD_LIMIT=100G
|
|
||||||
- NEXTCLOUD_MAX_TIME=3600
|
|
||||||
- NEXTCLOUD_MEMORY_LIMIT=1024M
|
|
||||||
- SKIP_DOMAIN_VALIDATION=true
|
|
||||||
- NEXTCLOUD_KEEP_DISABLED_APPS=true
|
|
||||||
- NEXTCLOUD_DATADIR=/home/tanveer/nextcloud
|
|
||||||
volumes:
|
|
||||||
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
networks:
|
|
||||||
- coolans
|
|
||||||
|
|
||||||
|
app:
|
||||||
|
container_name: nextcloud
|
||||||
|
image: lscr.io/linuxserver/nextcloud:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 8080:80
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
- redis
|
||||||
volumes:
|
volumes:
|
||||||
nextcloud_aio_mastercontainer:
|
- $HOME/nextcloud:/data
|
||||||
name: nextcloud_aio_mastercontainer
|
- ./config:/config
|
||||||
|
- /media/vault/nextcloud:/media/vault/nextcloud
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Asia/Kolkata
|
||||||
|
|
||||||
networks:
|
redis:
|
||||||
coolans:
|
container_name: nextcloud_redis
|
||||||
name: coolans
|
image: redis:alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
command: redis-server
|
||||||
|
|
||||||
|
imaginary:
|
||||||
|
restart: unless-stopped
|
||||||
|
image: nextcloud/aio-imaginary:latest
|
||||||
|
container_name: nextcloud_imaginary
|
||||||
|
environment:
|
||||||
|
PORT: 11000
|
||||||
|
command: -enable-url-source -cors
|
||||||
|
labels:
|
||||||
|
- "com.centurylinklabs.watchtower.enable=true"
|
||||||
|
cap_add:
|
||||||
|
- SYS_NICE
|
||||||
|
|||||||
4
nextcloud/env.example
Normal file
4
nextcloud/env.example
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
MARIADB_ROOT_PASSWORD=<strong_pass>
|
||||||
|
MARIADB_PASSWORD=<strong_pass>
|
||||||
|
MARIADB_DATABASE=nextcloud
|
||||||
|
MARIADB_USER=nextcloud
|
||||||
Reference in New Issue
Block a user