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

Revert "Allow Nginx access to the host network."

This reverts commit 6e2443d5.
parent 5107da8a
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,14 @@ services: ...@@ -5,9 +5,14 @@ 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:
- host aliases:
- *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'
...@@ -36,6 +41,3 @@ services: ...@@ -36,6 +41,3 @@ 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