app-store/apps/filestash/docker-compose.yml
Nicolas Meienberger d713238b5c
local domain configs A-G (#676)
* feat(actual-budget): change config to support local domain

* feat(adguard): change config to support local domain

* feat(autobrr): change config to support local domain

* feat(barrage): change config to support local domain

* feat(bazarr): change config to support local domain

* feat(booksonic): change config to support local domain

* feat(bookstack): change config to support local domain

* feat(calibre-web): change config to support local domain

* feat(chatgpt-ui): change config to support local domain

* feat(chatpad): change config to support local domain

* feat(code-server): change config to support local domain

* feat(codex-docs): change config to support local domain

* feat(dailytxt): change config to support local domain

* feat(dashdot): change config to support local domain

* feat(deemix): change config to support local domain

* feat(deluge): change config to support local domain

* feat(dokuwiki): change config to support local domain

* feat(dozzle): change config to support local domain

* feat(duplicati): change config to support local domain

* feat(emulatorjs): change config to support local domain

* feat(excalidraw): change config to support local domain

* feat(filebrowser): change config to support local domain

* feat(filestash): change config to support local domain

* feat(firefly-iii): change config to support local domain

* feat(fireshare): change config to support local domain

* feat(flatnotes): change config to support local domain

* feat(freshrss): change config to support local domain

* feat(ghost): change config to support local domain

* feat(gitea): change config to support local domain

* feat(gotify): change config to support local domain

* feat(gotosocial): change config to support local domain

* feat(grafana): change config to support local domain

* feat(grav): change config to support local domain

* feat(grocy): change config to support local domain
2023-06-10 16:46:05 +02:00

53 lines
2.1 KiB
YAML

version: "2"
services:
filestash:
container_name: filestash
image: machines/filestash:397fd8b
restart: unless-stopped
environment:
- APPLICATION_URL=${APP_DOMAIN}
- GDRIVE_CLIENT_ID=${FILESTASH_GDRIVE_CLIENT_ID}
- GDRIVE_CLIENT_SECRET=${FILESTASH_GDRIVE_CLIENT_SECRET}
- DROPBOX_CLIENT_ID=${FILESTASH_DROPBOX_CLIENT_ID}
- ONLYOFFICE_URL=http://filestash-onlyoffice
ports:
- ${APP_PORT}:8334
depends_on:
- filestash-onlyoffice
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.filestash-web-redirect.redirectscheme.scheme: https
traefik.http.services.filestash.loadbalancer.server.port: 8334
# Web
traefik.http.routers.filestash-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.filestash-insecure.entrypoints: web
traefik.http.routers.filestash-insecure.service: filestash
traefik.http.routers.filestash-insecure.middlewares: filestash-web-redirect
# Websecure
traefik.http.routers.filestash.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.filestash.entrypoints: websecure
traefik.http.routers.filestash.service: filestash
traefik.http.routers.filestash.tls.certresolver: myresolver
# Local domain
traefik.http.routers.filestash-local-insecure.rule: Host(`filestash.${LOCAL_DOMAIN}`)
traefik.http.routers.filestash-local-insecure.entrypoints: web
traefik.http.routers.filestash-local-insecure.service: filestash
traefik.http.routers.filestash-local-insecure.middlewares: filestash-web-redirect
# Local domain secure
traefik.http.routers.filestash-local.rule: Host(`filestash.${LOCAL_DOMAIN}`)
traefik.http.routers.filestash-local.entrypoints: websecure
traefik.http.routers.filestash-local.service: filestash
traefik.http.routers.filestash-local.tls: true
filestash-onlyoffice:
container_name: filestash_oods
image: onlyoffice/documentserver:7.3.3.50
restart: unless-stopped
security_opt:
- seccomp:unconfined
networks:
- tipi_main_network