mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-01 06:27:00 +02:00
* add config file possibility * revert port in docker compose * Update docker-compose.yml Co-authored-by: Elias Schneider <login@eliasschneider.com> * Update docker-compose.yml Co-authored-by: Elias Schneider <login@eliasschneider.com> * add attribute description to config file * remove email message config * add package to resolve errors * remove email messages from config * move config initialization to config module * revert unnecessary change * add order * improve alert * run formatter * remove unnecessary packages * remove unnecessary types * use logger * don't save yaml config to db * allowEdit if no yaml config is set * improve docs * fix allow edit state * remove unnecessary check and refactor code * restore old config file * add script that generates `config.example.yaml` automatically * allow config variables to be changed if they are not set in the `config.yml` * add back init user * Revert "allow config variables to be changed if they are not set in the `config.yml`" This reverts commit 7dbdb6729034be5b083f126f854d5e1411735a54. * improve info box text --------- Co-authored-by: Elias Schneider <login@eliasschneider.com>
16 lines
656 B
YAML
16 lines
656 B
YAML
services:
|
||
pingvin-share:
|
||
image: stonith404/pingvin-share # or ghcr.io/stonith404/pingvin-share
|
||
restart: unless-stopped
|
||
ports:
|
||
- 3000:3000
|
||
environment:
|
||
- TRUST_PROXY=false # Set to true if a reverse proxy is in front of the container
|
||
volumes:
|
||
- "./data:/opt/app/backend/data"
|
||
- "./data/images:/opt/app/frontend/public/img"
|
||
# - "./config.yaml:/opt/app/config.yaml" # Add this line, if you want to configure pingvin-share via config file and not via UI
|
||
|
||
# To add ClamAV, to scan your shares for malicious files,
|
||
# see https://stonith404.github.io/pingvin-share/setup/integrations/#clamav-docker-only
|