Skip to content

Commit

Permalink
fix(docker): default envvars in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeanerd committed Sep 8, 2024
1 parent 00c2185 commit f3a72d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f3a72d7

Please sign in to comment.