mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix(docker): default envvars in docker-compose
This commit is contained in:
parent
b56555733a
commit
102ec9b4f4
2 changed files with 6 additions and 12 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue