executing dockers as host

This commit is contained in:
Szakalakamaka
2020-09-01 11:52:52 +02:00
parent 72533c1a0c
commit 3f4e9ccec7
2 changed files with 5 additions and 4 deletions

View File

@@ -2,9 +2,11 @@ version: '3'
services:
redis-server:
image: 'redis'
network_mode: "host"
restart: "no"
klaus:
restart: "no"
network_mode: "host"
build:
context: .
dockerfile: Dockerfile