26 lines
649 B
YAML
26 lines
649 B
YAML
x-restart-policy: &restart-policy "unless-stopped"
|
|
services:
|
|
dns:
|
|
image: lancachenet/lancache-dns:latest
|
|
env_file: .env
|
|
restart: *restart-policy
|
|
ports:
|
|
- ${DNS_BIND_IP}:53:53/udp
|
|
- ${DNS_BIND_IP}:53:53/tcp
|
|
monolithic:
|
|
image: lancachenet/monolithic:latest
|
|
env_file: .env
|
|
restart: *restart-policy
|
|
ports:
|
|
- 80:80/tcp
|
|
- 443:443/tcp
|
|
volumes:
|
|
- ${CACHE_ROOT}/cache:/data/cache
|
|
- ${CACHE_ROOT}/logs:/data/logs
|
|
HSdns:
|
|
image: lancachenet/lancache-dns:latest
|
|
env_file: .HSenv
|
|
restart: *restart-policy
|
|
ports:
|
|
- 10.0.0.199:53:53/udp
|
|
- 10.0.0.199:53:53/tcp |