1
0
Fork 0
mirror of synced 2024-06-22 04:10:30 +12:00
ArchiveBox/docker-compose.yml

34 lines
1 KiB
YAML
Raw Normal View History

# This docker-compose config for ArchiveBox runs the following containers:
# - ArchiveBox (it creates the initial archive, then sleeps forever to allow commands to be run with exec to add links)
# - nginx webserver running on https://127.0.0.1:8098
# Usage:
# docker-compose up -d
# echo "https://example.com" | docker-compose exec -T archivebox /bin/archive
# docker-compose exec archivebox /bin/archive https://example.com/some/feed.rss
# Documentation:
# https://github.com/pirate/ArchiveBox/wiki/Docker#docker-compose
2020-06-26 09:46:11 +12:00
version: '3.7'
2019-01-17 03:20:15 +13:00
services:
archivebox:
build: .
2020-06-26 09:46:11 +12:00
image: archivebox:latest
command: archivebox server
2019-01-17 03:20:15 +13:00
stdin_open: true
tty: true
environment:
2020-06-26 09:46:11 +12:00
- USE_COLOR=True
2019-01-17 03:20:15 +13:00
- SHOW_PROGRESS=False
volumes:
- ./data:/data
nginx:
2020-06-26 09:46:11 +12:00
image: nginx:alpine
2019-01-17 03:20:15 +13:00
ports:
2020-06-26 09:46:11 +12:00
- 443:443
- 80:80
2019-01-17 03:20:15 +13:00
volumes:
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./data:/var/www