Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This repository contains Docker Compose setups for a variety of applications, en
- Metabase (`databases/manage/metabase`)
- **Storage**
- MinIO (`storage/minio`)
- Filestash (`storage/filestash`)
- **Distribute**
- RabbitMQ (`distribute/brokers/rabbitmq`)
- RedBeat (`distribute/scheduler/redbeat`)
Expand Down
27 changes: 27 additions & 0 deletions storage/filestash/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# TODO: Add a Collabora WOPI sidecar for in-browser Office document editing (see upstream's example compose).
networks:
internal:
name: "internal"
# External means the container will be accessible from other containers in the same network.
# If you want to isolate the container create a new network, with different name for each container and without being external.
external: true

volumes:
filestash:
name: "filestash"

services:
filestash:
image: "machines/filestash:latest"
container_name: "filestash"
restart: "unless-stopped"
networks:
- "internal"
ports:
- "${FILESTASH_PORT?Variable not set}:8334"
environment:
- "APPLICATION_URL=${FILESTASH_APPLICATION_URL:-}"
volumes:
- "filestash:/app/data/state"
labels:
- "traefik.enable=false"
11 changes: 11 additions & 0 deletions storage/filestash/template.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# For all strings containing special characters, use single quotes.
# In case of older docker compose versions (<3.9), do not use single or double quotes at all.

# Container's docker environment configuration.
COMPOSE_PROJECT_NAME='lowercase_string_without_special_characters'

# Filestash's docker environment configuration.
FILESTASH_PORT=1234
# Leave FILESTASH_APPLICATION_URL empty to auto-detect from the request, or set it to the
# public URL Filestash is served behind (e.g. 'https://files.example.com').
FILESTASH_APPLICATION_URL=''