diff --git a/QNAP/Outline/.env b/QNAP/Outline/.env index d0c573f..fcefe35 100644 --- a/QNAP/Outline/.env +++ b/QNAP/Outline/.env @@ -8,16 +8,6 @@ URL=https://notes.kaspers.us # in your docker-compose.yml PORT=3000 -# See [documentation](docs/SERVICES.md) on running a separate collaboration -# server, for normal operation this does not need to be set. -COLLABORATION_URL= - -# If using a Cloudfront/Cloudflare distribution or similar it can be set below. -# This will cause paths to javascript, stylesheets, and images to be updated to -# the hostname defined in CDN_URL. In your CDN configuration the origin server -# should be set to the same as URL. -CDN_URL= - # How many processes should be spawned. As a reasonable rule divide your servers # available memory by 512 for a rough estimate WEB_CONCURRENCY=1 diff --git a/QNAP/Outline/docker-compose.yaml b/QNAP/Outline/docker-compose.yaml index 83cbf98..2503cca 100644 --- a/QNAP/Outline/docker-compose.yaml +++ b/QNAP/Outline/docker-compose.yaml @@ -8,6 +8,8 @@ services: depends_on: - postgres - redis + environment: + - DATABASE_URL=postgres://user:pass@postgres:5432/outline labels: traefik.docker.network: proxy traefik.enable: 'true' diff --git a/QNAP/homebox/docker-compose.yml b/QNAP/homebox/docker-compose.yml new file mode 100644 index 0000000..94b6d9b --- /dev/null +++ b/QNAP/homebox/docker-compose.yml @@ -0,0 +1,29 @@ +services: + homebox: + image: ghcr.io/sysadminsmedia/homebox:latest +# image: ghcr.io/sysadminsmedia/homebox:latest-rootless + container_name: homebox + restart: always + environment: + - HBOX_LOG_LEVEL=info + - HBOX_LOG_FORMAT=text + - HBOX_WEB_MAX_FILE_UPLOAD=10 + - HBOX_OPTIONS_ALLOW_ANALYTICS=false + - HBOX_OPTIONS_ALLOW_REGISTRATION=false + labels: + - "traefik.enable=true" + - "traefik.http.routers.homebox.rule=Host(`homebox.kaspers.us`)" # ⚠️ UPDATE to your domain + - "traefik.http.routers.homebox.entrypoints=websecure" # Assumes your HTTP entrypoint is 'web' + - "traefik.http.services.homebox.loadbalancer.server.port=7745" + - "traefik.http.routers.homebox.tls=true" + - "traefik.http.routers.homebox.tls.certresolver=letsencrypt" + - "traefik.docker.network=proxy" + networks: + - proxy + volumes: + - /share/Media/container-station-data/homebox/data:/data/ + ports: + - 3100:7745 +networks: + proxy: + external: true