fix(docker): default envvars in docker-compose

This commit is contained in:
Sebastian Di Luzio 2024-09-08 15:27:55 +02:00 committed by Sebastian Di Luzio
parent b56555733a
commit 102ec9b4f4
2 changed files with 6 additions and 12 deletions

View file

@ -1,10 +1,4 @@
FROM odinuge/maven-javafx:3-jdk-8 AS builder FROM maven:3.9 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
COPY . . COPY . .
RUN mvn clean install -DskipTests \ RUN mvn clean install -DskipTests \

View file

@ -5,12 +5,12 @@ services:
ports: ports:
- '17171:17171' - '17171:17171'
- '17179:17179' - '17179:17179'
# Uncomment this to configure the server for your deployment URL extra_hosts:
# extra_hosts: # Adjust this to configure the server for your deployment URL (`localhost` -> `yourDomain.com`)
# - 'your-mage-domain.com:0.0.0.0' - 'localhost:0.0.0.0'
environment: environment:
# Uncomment this to configure the server for your deployment URL # Adjust this to configure the server for your deployment URL (`localhost` -> `yourDomain.com`)
# - MAGE_SERVER_ADDRESS=your-mage-domain.com - MAGE_SERVER_ADDRESS=localhost
# Give the server a name, if you want to # Give the server a name, if you want to
- MAGE_SERVER_NAME=mage-server - MAGE_SERVER_NAME=mage-server
- MAGE_MAX_SECONDS_IDLE=6000 - MAGE_MAX_SECONDS_IDLE=6000