mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-06-03 08:08:43 -04:00
fix etc nginx and Docker config
This commit is contained in:
parent
d24724ed79
commit
ea905d68bb
5 changed files with 74 additions and 15 deletions
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
archivebox:
|
||||
build: .
|
||||
stdin_open: true
|
||||
tty: true
|
||||
environment:
|
||||
- FETCH_SCREENSHOT=False
|
||||
- FETCH_PDF=False
|
||||
- FETCH_DOM=False
|
||||
- FETCH_MEDIA=False
|
||||
- USE_COLOR=False
|
||||
- SHOW_PROGRESS=False
|
||||
volumes:
|
||||
- ./data:/data
|
||||
command: bash -c 'echo "https://example.com" | /usr/bin/archive; tail -f /dev/null'
|
||||
|
||||
nginx:
|
||||
image: 'nginx'
|
||||
ports:
|
||||
- '8098:80'
|
||||
volumes:
|
||||
- ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./data:/var/www
|
Loading…
Add table
Add a link
Reference in a new issue