mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
updated archivebox for dockhand
This commit is contained in:
@@ -33,7 +33,22 @@ Example:
|
||||
/data – persistent application storage
|
||||
/config – configuration files
|
||||
|
||||
## Network Notes
|
||||
|
||||
Requires proxy network
|
||||
|
||||
## Additional Notes / Gotchas
|
||||
|
||||
Add any special information someone should know before running the
|
||||
project---quirks, caveats, network requirements, etc.
|
||||
|
||||
## Dockhand Stack, Deploy from Git
|
||||
|
||||
Cookbooks Repository
|
||||
stackname: NAME_HERE
|
||||
Compose file path: SERVICENAME/compose.yaml
|
||||
Additional env file (optional): SERVICENAME/sample.env
|
||||
|
||||
Then "Load" SERVICENAME/sample.env into the Environmental variables in dockhand
|
||||
|
||||
Create the Stack
|
||||
@@ -0,0 +1,39 @@
|
||||
# ArchiveBox
|
||||
|
||||
## Overview
|
||||
|
||||
ArchiveBox is a self-hosted app that lets you preserve content from websites in a variety of formats.
|
||||
|
||||
## Project Details
|
||||
|
||||
- **Project Website:** [ARCHIVEBOX](https://archivebox.io/)
|
||||
- **Container Image:** [Docker Hub](https://hub.docker.com/r/archivebox/archivebox/tags)
|
||||
- **Compose Example:** [Compose](https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/docker-compose.yml)
|
||||
- **Documentation:** [Docs](https://github.com/ArchiveBox/ArchiveBox/wiki)
|
||||
- **Reverse Proxy Port:** `8000`
|
||||
|
||||
## Environment Variable Notes
|
||||
|
||||
ARCHIVEBOX_IMAGE - you can lock the version like so: ```archivebox/archivebox:sha-1d49bee```
|
||||
ARCHIVEBOX_UID - User 1000
|
||||
ARCHIVEBOX_GID - Group 1000
|
||||
PYTHONUNBUFFERED - Ensures logs are output in real-time
|
||||
|
||||
## Volume Notes
|
||||
|
||||
/data – just one volume
|
||||
|
||||
## Network Notes
|
||||
|
||||
Requires proxy network
|
||||
|
||||
## Dockhand Stack, Deploy from Git
|
||||
|
||||
Cookbooks Repository
|
||||
stackname: archivebox
|
||||
Compose file path: archivebox/compose.yaml
|
||||
Additional env file (optional): archivebox/sample.env
|
||||
|
||||
Then "Load" archivebox/sample.env into the Environmental variables in dockhand
|
||||
|
||||
Create the Stack
|
||||
@@ -0,0 +1,20 @@
|
||||
# ARCHIVEBOX
|
||||
|
||||
services:
|
||||
archivebox:
|
||||
image: ${ARCHIVEBOX_IMAGE:-archivebox/archivebox:stable}
|
||||
restart: ${ARCHIVEBOX_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH}/archivebox:/data
|
||||
environment:
|
||||
- ARCHIVEBOX_UID=1000
|
||||
- ARCHIVEBOX_GID=1000
|
||||
- PYTHONUNBUFFERED=1
|
||||
networks:
|
||||
- proxy
|
||||
command: server --quick-init 0.0.0.0:8000
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
```
|
||||
@@ -0,0 +1,8 @@
|
||||
# ARCHIVEBOX
|
||||
VOL_PATH=./data
|
||||
ARCHIVEBOX_IMAGE=archivebox/archivebox:stable
|
||||
# ARCHIVEBOX_IMAGE=archivebox/archivebox:sha-1d49bee # locked example
|
||||
ARCHIVEBOX_RESTART=unless-stopped
|
||||
ARCHIVEBOX_UID=1000
|
||||
ARCHIVEBOX_GID=1000
|
||||
PYTHONUNBUFFERED=1
|
||||
@@ -1,8 +0,0 @@
|
||||
# archivebox
|
||||
|
||||
## Overview
|
||||
Docker Hub: https://hub.docker.com/r/archivebox/archivebox/tags
|
||||
Docker Compose Example: https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/dev/docker-compose.yml
|
||||
Project: https://archivebox.io/
|
||||
Proxy Port: 8000
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
services:
|
||||
archivebox:
|
||||
image: ${ARCHIVEBOX_IMAGE:-archivebox/archivebox:stable}
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- "archivebox-data:/data"
|
||||
environment:
|
||||
- ARCHIVEBOX_UID=1000
|
||||
- ARCHIVEBOX_GID=1000
|
||||
- PYTHONUNBUFFERED=1
|
||||
command: server --quick-init 0.0.0.0:8000
|
||||
|
||||
volumes:
|
||||
archivebox-data:
|
||||
@@ -1,2 +0,0 @@
|
||||
# ARCHIVEBOX
|
||||
ARCHIVEBOX_IMAGE=archivebox/archivebox:sha-1d49bee
|
||||
Reference in New Issue
Block a user