Skip to content

Commit

Permalink
update archivebox container
Browse files Browse the repository at this point in the history
  • Loading branch information
offbyone committed Feb 20, 2025
1 parent 6c78e14 commit beb2fc1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions archivebox/archivebox
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

here="$(unset CDPATH; cd "$(dirname "$0")"; pwd)"

sudo docker compose --project-directory "$here" \
run --rm archivebox "$@"
5 changes: 1 addition & 4 deletions archivebox/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,11 @@ services:

novnc:
image: theasp/novnc:latest
network_mode: service:sidecar
environment:
- DISPLAY_WIDTH=1920
- DISPLAY_HEIGHT=1080
- RUN_XTERM=no
ports:
# to view/control ArchiveBox's browser, visit: http://127.0.0.1:8080/vnc.html
# restricted to access from localhost by default because it has no authentication
- 127.0.0.1:8080:8080

### Example: Put Nginx in front of the ArchiveBox server for SSL termination and static file serving.
# You can also any other ingress provider for SSL like Apache, Caddy, Traefik, Cloudflare Tunnels, etc.
Expand Down

0 comments on commit beb2fc1

Please sign in to comment.