1
0
Fork 0

Improve docker-compose.yml

This commit is contained in:
Alex Kotov 2023-08-27 16:16:36 +04:00
parent a2ed2d6b47
commit 08844ca24b
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -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'