mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-28 05:34:14 -04:00
update docker setup and dependencies
This commit is contained in:
parent
31a454db36
commit
e2a5e0136c
3 changed files with 77 additions and 83 deletions
|
@ -8,25 +8,26 @@
|
|||
# Documentation:
|
||||
# https://github.com/pirate/ArchiveBox/wiki/Docker#docker-compose
|
||||
|
||||
version: '3'
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
archivebox:
|
||||
build: .
|
||||
image: archivebox:latest
|
||||
command: archivebox server
|
||||
stdin_open: true
|
||||
tty: true
|
||||
# env_file: path/to/your/ArchiveBox.conf
|
||||
environment:
|
||||
- USE_COLOR=False
|
||||
- USE_COLOR=True
|
||||
- SHOW_PROGRESS=False
|
||||
volumes:
|
||||
- ./data:/data
|
||||
command: bash -c 'echo "https://github.com/pirate/ArchiveBox" | /bin/archive; tail -f /dev/null'
|
||||
|
||||
nginx:
|
||||
image: 'nginx'
|
||||
image: nginx:alpine
|
||||
ports:
|
||||
- '8098:80'
|
||||
- 443:443
|
||||
- 80:80
|
||||
volumes:
|
||||
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./data:/var/www
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue