35 lines
784 B
YAML
35 lines
784 B
YAML
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: clarity-nginx
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
|
- ./nginx/clarity.test.crt:/etc/nginx/certs/clarity.test.crt:ro
|
|
- ./nginx/clarity.test.key:/etc/nginx/certs/clarity.test.key:ro
|
|
networks:
|
|
- clarity-net
|
|
|
|
dnsmasq:
|
|
image: dockurr/dnsmasq
|
|
container_name: clarity-dnsmasq
|
|
restart: unless-stopped
|
|
ports:
|
|
- "53:53/udp"
|
|
- "53:53/tcp"
|
|
volumes:
|
|
- ./dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf:ro
|
|
cap_add:
|
|
- NET_ADMIN
|
|
networks:
|
|
- clarity-net
|
|
|
|
networks:
|
|
clarity-net:
|
|
external: true
|
|
name: clarity-net
|