Skip to content
Snippets Groups Projects
Commit ee8a728b authored by nimrod's avatar nimrod
Browse files

Allow Nginx access to the host network.

For proxying Kodi.
parent 89a16b65
No related branches found
No related tags found
No related merge requests found
......@@ -5,14 +5,9 @@ services:
build:
context: ./
# command: ["nginx", "-g", "daemon off;"]
hostname: &hostname kodi.shore.co.il
networks:
default:
aliases:
- *hostname
ports:
- '80:80'
- '443:443'
- default
- host
restart: always
volumes:
- '/var/www/www.shore.co.il/.well-known/acme-challenge:/var/www/www.shore.co.il/.well-known/acme-challenge:ro'
......@@ -41,3 +36,6 @@ services:
networks:
default:
name: shore
host:
external: true
name: host
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment