abba icon indicating copy to clipboard operation
abba copied to clipboard

How to install with docker-compose

Open noavolution opened this issue 3 years ago • 1 comments

I am trying to install abba wit docker compose. This is what my file looks like:

version: '3'

services:
  cdn:
    image: jmlemetayer/abba:latest
    container_name: cdn
    restart: unless-stopped
    volumes:
      - /var/lib/docker/cdn:/var/www
    networks:
      - cdn
      - traefik-proxy
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.cdn.entrypoints=http"
      - "traefik.http.routers.cdn.rule=Host(`cdn.n-j.me`)"
      - "traefik.http.middlewares.cdn-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.cdn.middlewares=cdn-https-redirect"
      - "traefik.http.routers.cdn-secure.entrypoints=https"
      - "traefik.http.routers.cdn-secure.rule=Host(`cdn.n-j.me`)"
      - "traefik.http.routers.cdn-secure.tls=true"
      - "traefik.http.routers.cdn-secure.tls.certresolver=http"
      - "traefik.http.routers.cdn-secure.service=cdn"
      - "traefik.http.services.cdn.loadbalancer.server.port=80"
      - "traefik.docker.network=traefik-proxy"

networks:
  traefik-proxy:
    external: true
  cdn:

When I start the container I get the error "failed to install abba". What am I doing wrong?

noavolution avatar Apr 16 '22 21:04 noavolution

Hi,

You can check how I use it in my docker compose file:

https://github.com/jmlemetayer/seedbox/blob/main/docker-compose.yml#L89

On Sat, Apr 16, 2022, 23:58 Noah Janke @.***> wrote:

I am trying to install abba wit docker compose. This is what my file looks like:

version: '3'

services: cdn: image: jmlemetayer/abba:latest container_name: cdn restart: unless-stopped volumes: - /var/lib/docker/cdn:/var/www networks: - cdn - traefik-proxy labels: - "traefik.enable=true" - "traefik.http.routers.cdn.entrypoints=http" - "traefik.http.routers.cdn.rule=Host(cdn.n-j.me)" - "traefik.http.middlewares.cdn-https-redirect.redirectscheme.scheme=https" - "traefik.http.routers.cdn.middlewares=cdn-https-redirect" - "traefik.http.routers.cdn-secure.entrypoints=https" - "traefik.http.routers.cdn-secure.rule=Host(cdn.n-j.me)" - "traefik.http.routers.cdn-secure.tls=true" - "traefik.http.routers.cdn-secure.tls.certresolver=http" - "traefik.http.routers.cdn-secure.service=cdn" - "traefik.http.services.cdn.loadbalancer.server.port=80" - "traefik.docker.network=traefik-proxy"

networks: traefik-proxy: external: true cdn:

When I start the container I get the error "failed to install abba". What am I doing wrong?

— Reply to this email directly, view it on GitHub https://github.com/jmlemetayer/abba/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI5EELUMIVASVF4XLHFIU3VFMZXLANCNFSM5TS5RQ6Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jmlemetayer avatar Apr 17 '22 09:04 jmlemetayer