18 lines
369 B
YAML
18 lines
369 B
YAML
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
container_name: nginx
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
environment:
|
|
- TZ=${TZ}
|
|
restart: unless-stopped
|
|
extra_hosts:
|
|
- "server-pi:192.168.1.35"
|
|
- "private-pi:192.168.1.111"
|
|
dns:
|
|
- 1.1.1.1
|
|
- 8.8.8.8 |