This commit is contained in:
2026-04-24 12:00:21 +00:00
parent d3c21dc222
commit 19bfa9cd86
2 changed files with 25 additions and 19 deletions
+4
View File
@@ -2,6 +2,10 @@ services:
archivebox: archivebox:
#image: ${DOCKER_IMAGE:-archivebox/archivebox:dev} #image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
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 command: server --quick-init 0.0.0.0:8000
# ports: # ports:
# - 7777:8000 # - 7777:8000
+21 -19
View File
@@ -4,6 +4,8 @@ services:
image: fosrl/pangolin:latest image: fosrl/pangolin:latest
container_name: pangolin container_name: pangolin
restart: unless-stopped restart: unless-stopped
networks:
- traefik
volumes: volumes:
- /srv/pangolin/config:/app/config - /srv/pangolin/config:/app/config
healthcheck: healthcheck:
@@ -14,6 +16,8 @@ services:
gerbil: gerbil:
image: fosrl/gerbil:latest image: fosrl/gerbil:latest
networks:
- traefik
container_name: gerbil container_name: gerbil
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
@@ -34,24 +38,22 @@ services:
- 443:443 # Port for traefik because of the network_mode - 443:443 # Port for traefik because of the network_mode
- 80:80 # Port for traefik because of the network_mode - 80:80 # Port for traefik because of the network_mode
traefik: # traefik:
image: traefik:v3.3.3 # image: traefik:v3.3.3
container_name: traefik # container_name: traefik
restart: unless-stopped # restart: unless-stopped
network_mode: service:gerbil # Ports appear on the gerbil service # network_mode: service:gerbil # Ports appear on the gerbil service
depends_on: # depends_on:
pangolin: # pangolin:
condition: service_healthy # condition: service_healthy
command: # command:
- --configFile=/etc/traefik/traefik.yml # - --configFile=/etc/traefik/traefik.yml
volumes: # volumes:
- "./config/traefik.yml:/traefik.yml:ro" # - "./config/traefik.yml:/traefik.yml:ro"
# - ./config/traefik.yml:/etc/traefik:ro # Volume to store the Traefik configuration # # - ./config/traefik.yml:/etc/traefik:ro # Volume to store the Traefik configuration
- /srv/traefik/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates # - /srv/traefik/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
- "/var/run/docker.sock:/var/run/docker.sock:ro" # - "/var/run/docker.sock:/var/run/docker.sock:ro"
- /var/log/traefik/:/opt/traefik/logs # - /var/log/traefik/:/opt/traefik/logs
networks: networks:
default: traefik:
driver: bridge
external: true external: true
name: traefik