updated to reflex filemanager use case.

This commit is contained in:
Bob
2024-07-12 18:15:04 -07:00
parent 9875f9b92c
commit 1799d1bc5f

View File

@@ -38,7 +38,6 @@ services:
environment: environment:
EULA: "TRUE" EULA: "TRUE"
volumes: volumes:
# attach the relative directory 'data' to the container's /data path
- ./data:/data - ./data:/data
depends_on: depends_on:
- holesail - holesail
@@ -68,3 +67,22 @@ services:
``` ```
"host" network mode only works with linux. Windows and Mac are incompatible. "host" network mode only works with linux. Windows and Mac are incompatible.
```
services:
holesail:
container_name: holesail
restart: unless-stopped
build: .
environment:
MODE: filemanager # defaults to client
PORT: 8989
HOST: 0.0.0.0 # defaults to 0.0.0.0
PUBLIC: true # Defaults to true
ROLE: user # admin for write priveleges.
USERNAME: admin
PASSWORD: admin
CONNECTOR: very-super-secret # leave this blank to generate a random secret.
volumes:
- <host dir>:/data # Change <host dir> to the directory you wish to share.
```