Standardize formatting across multiple docker-compose.yml files: convert single quotes to double quotes for ports/args, fix inconsistent newlines at EOF, remove trailing spaces and stray blank lines, and tidy comments. Reformat ListSync healthcheck into a YAML sequence for clarity. Remove the obsolete Immich/docker-compose.yml.old file. These are non-functional cleanup changes to improve consistency and readability.
24 lines
1.2 KiB
YAML
24 lines
1.2 KiB
YAML
services:
|
|
filebrowser:
|
|
environment:
|
|
FILEBROWSER_CONFIG: "data/config.yaml"
|
|
FILEBROWSER_ADMIN_PASSWORD: admin
|
|
volumes:
|
|
- 'C:\Docker\AppData\filebrowserquantum\folder:/folder' # Never mount root "/" directory to docker, always choose a sub-folder with your data.
|
|
# Folders on Windows:
|
|
- 'C:\Docker\Compose:/folder/windows/Docker Compose'
|
|
- 'C:\Portables:/folder/windows/Portables'
|
|
- 'C:\Docker\Appdata:/folder/windows/Docker Appdata'
|
|
- 'C:\Program Files (x86)\Steam\steamapps\common:/folder/windows/Steam Games'
|
|
- 'C:\Program Files (x86)\Steam\config:/folder/windows/Steam Config'
|
|
# Rest:
|
|
- 'C:\Docker\AppData\filebrowserquantum\data:/home/filebrowser/data' # mount the data folder you created with the config file.
|
|
# Advanced: If you plan to run with a different user besides root or filebrowser, you will need to mount a tmp directory.
|
|
# - './tmp/:/home/filebrowser/tmp/'
|
|
ports:
|
|
- "8081:80" # the left 80 is the port **you will use** to access. The right 80 is the container port that **must match the config.yaml**
|
|
image: gtstef/filebrowser
|
|
# Optionally run as non-root filebrowser user
|
|
#user: filebrowser
|
|
restart: unless-stopped
|