Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clapshot docker-compose.yml configuration for Portainer #95

@nadegdazhgut

Description

@nadegdazhgut

Good afternoon, can you help me create a docker-compose configuration file. I managed to run it once, but your latest builds no longer work. I really like your development, it helps a lot in my work, but unfortunately I am not a good programmer. I use it in conjunction with traefik.

---
services:
  clapshot:
    container_name: clapshot
    image: elonen/clapshot:latest-demo-htadmin
    security_opt:
      - no-new-privileges:true
    environment:
      - CLAPSHOT_URL_BASE=https://clapshot.site.com
      - CLAPSHOT_DEBUG:=false
      - CLAPSHOT_LOG_LEVEL=info
      - CLAPSHOT_WORKERS=4
      - CLAPSHOT_MAX_UPLOAD_SIZE=10G
      - TZ=UTC
    #ports:
    #  - 8080:80
    restart: unless-stopped
    volumes:
      - ./clapshot-data/data:/mnt/clapshot-data/data
      - ./etc:/etc/
      - ./clapshot-cache:/mnt/clapshot-data/cache
      - ./clapshot-logs:/var/log/clapshot
      - ./usr:/usr/share/doc/clapshot-server/
      - ./var:/var/www/htadmin
      - ./app:/app
    networks:
      - proxy
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.clapshot.entrypoints=http"
      - "traefik.http.routers.clapshot.rule=Host(`clapshot.site.com`)"
      - "traefik.http.middlewares.clapshot-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.clapshot.middlewares=clapshot-https-redirect"
      - "traefik.http.routers.clapshot-secure.entrypoints=https"
      - "traefik.http.routers.clapshot-secure.rule=Host(`clapshot.site.com`)"
      - "traefik.http.routers.clapshot-secure.tls=true"
      - "traefik.http.routers.clapshot-secure.service=clapshot"
      - "traefik.http.services.clapshot.loadbalancer.server.port=80"
      - "traefik.docker.network=proxy"

networks:
  proxy:
    external: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions