fix etc nginx and Docker config

This commit is contained in:
Nick Sweeting 2019-01-16 09:20:15 -05:00
parent d24724ed79
commit ea905d68bb
5 changed files with 74 additions and 15 deletions

25
docker-compose.yml Normal file
View 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