From 19bfa9cd8622b5cd832b8534e87f80d5c7b2402d Mon Sep 17 00:00:00 2001 From: null4bl3 Date: Fri, 24 Apr 2026 12:00:21 +0000 Subject: [PATCH] pangolin --- archive_box/docker-compose.yml | 4 ++++ pangolin/docker-compose.yml | 40 ++++++++++++++++++---------------- 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/archive_box/docker-compose.yml b/archive_box/docker-compose.yml index e149317..16a15b9 100644 --- a/archive_box/docker-compose.yml +++ b/archive_box/docker-compose.yml @@ -2,6 +2,10 @@ services: archivebox: #image: ${DOCKER_IMAGE:-archivebox/archivebox:dev} image: archivebox/archivebox:dev + environment: + - PUBLIC_INDEX=False # set to False to prevent anonymous users from viewing snapshot list + - PUBLIC_SNAPSHOTS=False # set to False to prevent anonymous users from viewing snapshot content + - PUBLIC_ADD_VIEW=False command: server --quick-init 0.0.0.0:8000 # ports: # - 7777:8000 diff --git a/pangolin/docker-compose.yml b/pangolin/docker-compose.yml index ee0b3d1..e1008c9 100644 --- a/pangolin/docker-compose.yml +++ b/pangolin/docker-compose.yml @@ -4,6 +4,8 @@ services: image: fosrl/pangolin:latest container_name: pangolin restart: unless-stopped + networks: + - traefik volumes: - /srv/pangolin/config:/app/config healthcheck: @@ -14,6 +16,8 @@ services: gerbil: image: fosrl/gerbil:latest + networks: + - traefik container_name: gerbil restart: unless-stopped depends_on: @@ -34,24 +38,22 @@ services: - 443:443 # Port for traefik because of the network_mode - 80:80 # Port for traefik because of the network_mode - traefik: - image: traefik:v3.3.3 - container_name: traefik - restart: unless-stopped - network_mode: service:gerbil # Ports appear on the gerbil service - depends_on: - pangolin: - condition: service_healthy - command: - - --configFile=/etc/traefik/traefik.yml - volumes: - - "./config/traefik.yml:/traefik.yml:ro" - # - ./config/traefik.yml:/etc/traefik:ro # Volume to store the Traefik configuration - - /srv/traefik/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates - - "/var/run/docker.sock:/var/run/docker.sock:ro" - - /var/log/traefik/:/opt/traefik/logs + # traefik: + # image: traefik:v3.3.3 + # container_name: traefik + # restart: unless-stopped + # network_mode: service:gerbil # Ports appear on the gerbil service + # depends_on: + # pangolin: + # condition: service_healthy + # command: + # - --configFile=/etc/traefik/traefik.yml + # volumes: + # - "./config/traefik.yml:/traefik.yml:ro" + # # - ./config/traefik.yml:/etc/traefik:ro # Volume to store the Traefik configuration + # - /srv/traefik/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates + # - "/var/run/docker.sock:/var/run/docker.sock:ro" + # - /var/log/traefik/:/opt/traefik/logs networks: - default: - driver: bridge + traefik: external: true - name: traefik \ No newline at end of file