FIX: Issue with docker network

Issue with docker-compose caused server to refuse to build on Server due to not being able to download from the Internet.
Might need to be reviewed at a later point
This commit is contained in:
Stefan
2021-11-17 21:27:20 +01:00
committed by GitHub
parent 7553364313
commit 36ddf78fc9
+5 -2
View File
@@ -1,4 +1,4 @@
version: "3"
version: "3.4"
services:
mail:
image: boky/postfix
@@ -22,7 +22,10 @@ services:
image: redis
restart: always
server:
build: .
# REVIEW: This is setting the network context to host (during build time) which is generally considered a bad idea
build:
context: .
network: host
restart: always
container_name: "server"
ports: