From f874a78f72e7d03505fad63b686202e3e37d576a Mon Sep 17 00:00:00 2001 From: Sebastian Di Luzio Date: Sun, 8 Sep 2024 15:27:55 +0200 Subject: [PATCH] fix(docker): default envvars in docker-compose --- Dockerfile | 8 +------- docker-compose.yml | 10 +++++----- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f30b40d699b..af5f9a1ddc42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,4 @@ -FROM odinuge/maven-javafx:3-jdk-8 AS builder - -RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list - -# additional tools -RUN apt update && apt install -y \ - build-essential +FROM maven:3.9 AS builder COPY . . RUN mvn clean install -DskipTests \ diff --git a/docker-compose.yml b/docker-compose.yml index f3bdd871743b..73239ddb2563 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,12 +5,12 @@ services: ports: - '17171:17171' - '17179:17179' - # Uncomment this to configure the server for your deployment URL - # extra_hosts: - # - 'your-mage-domain.com:0.0.0.0' + extra_hosts: + # Adjust this to configure the server for your deployment URL (`localhost` -> `yourDomain.com`) + - 'localhost:0.0.0.0' environment: - # Uncomment this to configure the server for your deployment URL - # - MAGE_SERVER_ADDRESS=your-mage-domain.com + # Adjust this to configure the server for your deployment URL (`localhost` -> `yourDomain.com`) + - MAGE_SERVER_ADDRESS=localhost # Give the server a name, if you want to - MAGE_SERVER_NAME=mage-server - MAGE_MAX_SECONDS_IDLE=6000