mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
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:
+5
-2
@@ -1,4 +1,4 @@
|
|||||||
version: "3"
|
version: "3.4"
|
||||||
services:
|
services:
|
||||||
mail:
|
mail:
|
||||||
image: boky/postfix
|
image: boky/postfix
|
||||||
@@ -22,7 +22,10 @@ services:
|
|||||||
image: redis
|
image: redis
|
||||||
restart: always
|
restart: always
|
||||||
server:
|
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
|
restart: always
|
||||||
container_name: "server"
|
container_name: "server"
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user