Add docker-compose.yaml
This commit is contained in:
18
docker-compose.yaml
Normal file
18
docker-compose.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
Reference in New Issue
Block a user