removing network host flag

This commit is contained in:
Szakalakamaka
2020-09-03 08:38:32 +02:00
parent 3f4e9ccec7
commit 9dbf8b0fce
2 changed files with 45 additions and 28 deletions

View File

@@ -2,15 +2,13 @@ version: '3'
services:
redis-server:
image: 'redis'
network_mode: "host"
restart: "no"
klaus:
restart: "no"
network_mode: "host"
build:
context: .
dockerfile: Dockerfile
ports:
- "8097:8097"
depends_on:
- redis-server
klaus:
restart: "no"
build:
context: .
dockerfile: Dockerfile
ports:
- "8097:8097"
depends_on:
- redis-server