-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextcloud-full-stack-compose.yml
More file actions
111 lines (105 loc) · 2.99 KB
/
nextcloud-full-stack-compose.yml
File metadata and controls
111 lines (105 loc) · 2.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "2.1"
services:
nextcloud:
image: ghcr.io/linuxserver/nextcloud:latest
container_name: nextcloud
network_mode: swag_default
environment:
- PUID=1001
- PGID=100
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_HOST_PASSWORD= #add password
volumes:
- /tank/nextcloud:/config #configure volumes that you need here, I store previews on SSD as below
- /tank/nextcloud-data:/data
- /srv/dev-disk-by-uuid-98804e17-cc15-4de0-bd6d-db601baa8792/ncpreviews:/data/appdata_ocrue0s1tf5r/preview #change
- /etc/localtime:/etc/localtime:ro
- type: tmpfs
target: /tmp:exec
depends_on:
- mariadb
restart: unless-stopped
mariadb:
image: ghcr.io/linuxserver/mariadb:latest
container_name: nextclouddb
network_mode: swag_default
environment:
- PUID=1001
- PGID=100
- MYSQL_ROOT_PASSWORD= #set password
- TZ=Etc/GMT
volumes:
- /tank/mariadb:/config #set volume here
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
redis:
image: redis
container_name: redis
hostname: redis
network_mode: swag_default
environment:
- PUID=1001
- PGID=100
- TZ=Etc/GMT
command: redis-server --requirepass password #password here
restart: unless-stopped
go-vod:
image: radialapps/go-vod
init: true
depends_on:
- nextcloud
environment:
- PUID=1001
- PGID=100
- NEXTCLOUD_HOST= #your nc url
- NEXTCLOUD_ALLOW_INSECURE=1 # (self-signed certs or no HTTPS)
- NVIDIA_VISIBLE_DEVICES=all
network_mode: swag_default
volumes:
- /tank/nextcloud-data:/data:ro
runtime: nvidia # (NVENC) this relies on nvidia container toolkit, nvidia drivers being installed on the system.
restart: unless-stopped
nextcloud-whiteboard-server:
image: ghcr.io/nextcloud-releases/whiteboard:release
network_mode: swag_default
ports:
- 3002:3002
environment:
- NEXTCLOUD_URL= #nc url
- JWT_SECRET_KEY= #secret key generated as per docs
- STORAGE_STRATEGY=lru
restart: unless-stopped
nc-talk:
container_name: talk_hpb
image: nextcloud/aio-talk:latest
network_mode: swag_default
init: true
ports:
- 3478:3478/tcp
- 3478:3478/udp
- 8081:8081/tcp
environment:
- NC_DOMAIN= #ncdomain
- TALK_HOST= #talk domain
- TURN_SECRET= #this must be a long secretpasswordkey
- SIGNALING_SECRET= #this must be a long secretpasswordkey
- TZ=Europe/London
- TALK_PORT=3478
- INTERNAL_SECRET= #this must be a long secretpasswordkey
restart: unless-stopped
collabora:
image: collabora/code:latest
container_name: collabora
network_mode: swag_default #Adjust
environment:
- username=admin
- password= #set password
- dictionaries=en
cap_add:
- MKNOD
- SYS_ADMIN
ports:
- 9980:9980
restart: unless-stopped
privileged: true