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:
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user