updated for LAN deployment
added helper shell script for updating files
This commit is contained in:
parent
940a394b3e
commit
cb15b2003d
|
@ -4,9 +4,6 @@
|
||||||
|
|
||||||
This is a docker-compose configuration to deploy a nextcloud container.
|
This is a docker-compose configuration to deploy a nextcloud container.
|
||||||
|
|
||||||
This configuration requires an instance of nginx-proxy-manager to act as a
|
|
||||||
reverse proxy for the site.
|
|
||||||
|
|
||||||
## Links
|
## Links
|
||||||
|
|
||||||
* https://hub.docker.com/r/linuxserver/nextcloud
|
* https://hub.docker.com/r/linuxserver/nextcloud
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "2.1"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
image: ghcr.io/linuxserver/nextcloud:23.0.4
|
image: ghcr.io/linuxserver/nextcloud:28.0.3
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
|
@ -12,14 +12,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
# ports:
|
ports:
|
||||||
# - 80:80
|
- 80:80
|
||||||
# - 443:443
|
- 443:443
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
networks:
|
|
||||||
default:
|
|
||||||
external: true
|
|
||||||
name: npm-backend
|
|
||||||
|
|
||||||
# EOF
|
# EOF
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker exec -it nextcloud occ files:scan --all
|
||||||
|
|
Loading…
Reference in New Issue