storandom/docker-compose.yml

26 lines
835 B
YAML

services:
storandom:
image: docker.io/moanos/storandom
container_name: "storandom"
restart: unless-stopped
environment:
# Note: those envs are customizable but also optional
- SERVER_PORT=8000
volumes:
- ./data:/app/data
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.storandom.rule=Host(`storandom.hyteck.de`)"
- "traefik.http.routers.storandom.service=storandom-service"
- "traefik.http.routers.storandom.entrypoints=web-secure"
- "traefik.http.routers.storandom.tls=true"
- "traefik.http.routers.storandom.tls.certResolver=default"
- "traefik.http.services.storandom-service.loadbalancer.server.port=8000"
networks:
- traefik
networks:
traefik:
name: "traefik"
external: true