Improve docker-compose.yml
This commit is contained in:
parent
a2ed2d6b47
commit
08844ca24b
1 changed files with 7 additions and 8 deletions
|
@ -1,11 +1,15 @@
|
|||
version: '2.4'
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
archivebox:
|
||||
build: .
|
||||
command: server --debug --reload --quick-init 0.0.0.0:8000
|
||||
dns: pihole
|
||||
ports:
|
||||
- 8000:8000
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./archivebox:/app/archivebox
|
||||
environment:
|
||||
- ALLOWED_HOSTS=*
|
||||
- MEDIA_MAX_SIZE=750m
|
||||
|
@ -21,18 +25,13 @@ services:
|
|||
# FIXME: Mercury doesn't work
|
||||
- USE_MERCURY=False
|
||||
- SAVE_MERCURY=False
|
||||
dns:
|
||||
- pihole
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./archivebox:/app/archivebox
|
||||
|
||||
pihole:
|
||||
image: pihole/pihole:latest
|
||||
ports:
|
||||
- 80:80
|
||||
environment:
|
||||
WEBPASSWORD: 'password'
|
||||
volumes:
|
||||
- ./data/pihole:/etc/pihole
|
||||
- ./data/dnsmasq:/etc/dnsmasq.d
|
||||
environment:
|
||||
WEBPASSWORD: 'password'
|
||||
|
|
Loading…
Reference in a new issue