---
title: "Deploy ArchiveBox"
description: "Self-hosted web archiver: save pages as HTML, PDF, screenshots"
category: "Storage"
url: https://railway.com/deploy/archivebox-2
---

# Deploy ArchiveBox

Self-hosted web archiver: save pages as HTML, PDF, screenshots

**[Deploy ArchiveBox on Railway](https://railway.com/template/archivebox-2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/archivebox-2/manifest.json

- **Creator:** zer0person's Projects
- **Category:** Storage
- **Total deploys:** 1

## Template content

### ArchiveBox

- **Image:** archivebox/archivebox:latest
- **Start command:** `sh -c "export ADMIN_USERNAME=admin PUBLIC_INDEX=False PUBLIC_SNAPSHOTS=False PUBLIC_ADD_VIEW=False && exec dumb-init -- /app/bin/docker_entrypoint.sh archivebox server --init 0.0.0.0:5797"`
- **Public domain:** Yes

## Documentation

# Deploy and Host ArchiveBox on Railway

[ArchiveBox](https://github.com/ArchiveBox/ArchiveBox) is a self-hosted internet archive: give it URLs, bookmarks or browser history and it saves each page as HTML, PDF, screenshot, media and more, so you keep a copy that cannot disappear.

## About Hosting ArchiveBox

This template runs the official `archivebox/archivebox:latest` image on port 5797 with a persistent volume at `/data` holding the index and every snapshot. An admin user is created on first start: the username is `admin` and the password is the generated `ADMIN_PASSWORD` variable on the service. Public index, public snapshots and anonymous adding are switched off, so only signed-in users can see or add anything. Open `/admin/` on your public URL and sign in.

## Common Use Cases

- Archive pages you cite or bookmark before they change or vanish
- Import browser history, Pocket, Pinboard or RSS feeds into a private archive
- Keep a searchable personal web library

## Dependencies for ArchiveBox Hosting

- One service with a volume; nothing else. Archiving with Chrome uses a lot of memory, so give the service enough RAM.

### Deployment Dependencies

- [ArchiveBox on GitHub](https://github.com/ArchiveBox/ArchiveBox)
- [Documentation](https://docs.archivebox.io)
- [Docker image](https://hub.docker.com/r/archivebox/archivebox)

## Why Deploy ArchiveBox on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. Add URLs from the web UI after signing in.


## Similar templates

- [RustFS | (Just Updated) S3 Object Store, Public URL and Keys Set](https://railway.com/deploy/rustfs-or-just-updated-s3-object-store-p) — S3-compatible object store, keys and public URL preset, volume kept
- [TimescaleDB](https://railway.com/deploy/timescaledb-railway-template) — A PostgreSQL-based time-series database for analytics on Railway.
- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.

Open this page in a browser: https://railway.com/deploy/archivebox-2
