Compare commits
2 Commits
1345a09c84
...
c82f3229b1
| Author | SHA1 | Date | |
|---|---|---|---|
| c82f3229b1 | |||
| 63214d8135 |
+25
-2
@@ -1,11 +1,17 @@
|
|||||||
services:
|
services:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
restart: "no" #unless-stopped
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
com.hanold.environment: production
|
||||||
|
hostname: https://nextcloud-app.hanold.online
|
||||||
volumes:
|
volumes:
|
||||||
- ./nextcloud-data:/var/www/html
|
- ./nextcloud-data:/var/www/html
|
||||||
# - /media/webdav/Dokumente:/mnt/WebDav_Dokumente
|
# - /media/webdav/Dokumente:/mnt/WebDav_Dokumente
|
||||||
- /media/Daten/Dokumente:/mnt/Daten_Dokumente
|
- /media/Daten/Nextcloud:/mnt/Heimserver
|
||||||
|
tmpfs:
|
||||||
|
- /tmp:size=1G # Ensures /tmp writable, clears restarts
|
||||||
|
init: true
|
||||||
ports:
|
ports:
|
||||||
- 9180:80
|
- 9180:80
|
||||||
environment:
|
environment:
|
||||||
@@ -22,8 +28,25 @@ services:
|
|||||||
# - PUID=1000
|
# - PUID=1000
|
||||||
# - PGID=1000
|
# - PGID=1000
|
||||||
image: nextcloud:latest
|
image: nextcloud:latest
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 4G
|
||||||
|
|
||||||
|
collabora:
|
||||||
|
image: collabora/code:latest
|
||||||
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 1G
|
memory: 1G
|
||||||
|
cap_add:
|
||||||
|
- MKNOD
|
||||||
|
environment:
|
||||||
|
- domain=nextcloud-app\.hanold\.online
|
||||||
|
# - username=admin # Or blank
|
||||||
|
# - password=yourpass
|
||||||
|
- extra_params=--o:ssl.enable=false # If internal; true + certs for prod
|
||||||
|
ports:
|
||||||
|
- 9380:9980
|
||||||
networks: {}
|
networks: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user