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

Allow Nginx access to the host network.

For proxying Kodi.
parent 9fd8522d
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.
Please register or to comment