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

Allow Nginx access to the host network.

For proxying Kodi.
parent 05295456
No related branches found
No related tags found
No related merge requests found
...@@ -5,14 +5,9 @@ services: ...@@ -5,14 +5,9 @@ services:
build: build:
context: ./ context: ./
# command: ["nginx", "-g", "daemon off;"] # command: ["nginx", "-g", "daemon off;"]
hostname: &hostname kodi.shore.co.il
networks: networks:
default: - default
aliases: - host
- *hostname
ports:
- '80:80'
- '443:443'
restart: always restart: always
volumes: volumes:
- '/var/www/www.shore.co.il/.well-known/acme-challenge:/var/www/www.shore.co.il/.well-known/acme-challenge:ro' - '/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: ...@@ -41,3 +36,6 @@ services:
networks: networks:
default: default:
name: shore 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