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 configuration requires an instance of nginx-proxy-manager to act as a
|
||||
reverse proxy for the site.
|
||||
|
||||
## Links
|
||||
|
||||
* https://hub.docker.com/r/linuxserver/nextcloud
|
||||
|
|
|
@ -3,7 +3,7 @@ version: "2.1"
|
|||
|
||||
services:
|
||||
nextcloud:
|
||||
image: ghcr.io/linuxserver/nextcloud:23.0.4
|
||||
image: ghcr.io/linuxserver/nextcloud:28.0.3
|
||||
container_name: nextcloud
|
||||
environment:
|
||||
- PUID=1000
|
||||
|
@ -12,14 +12,9 @@ services:
|
|||
volumes:
|
||||
- ./config:/config
|
||||
- ./data:/data
|
||||
# ports:
|
||||
# - 80:80
|
||||
# - 443:443
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: npm-backend
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker exec -it nextcloud occ files:scan --all
|
||||
|
Loading…
Reference in New Issue