mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 22:42:03 -08:00
* feat: build image from source * attempt to use latest maven to build * Update Dockerfile * fix: move unzip to final image * style: format Dockerfile * fix: typo in envvar * feat: provide usable docker-compose - both usable for local development, as well as deployment (to copy paste and work off of) * refactor: rename envvars
23 lines
661 B
YAML
23 lines
661 B
YAML
services:
|
|
server:
|
|
build: .
|
|
image: ghcr.io/magefree/mage
|
|
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'
|
|
environment:
|
|
# Uncomment this to configure the server for your deployment URL
|
|
# - MAGE_SERVER_ADDRESS=your-mage-domain.com
|
|
# Give the server a name, if you want to
|
|
- MAGE_SERVER_NAME=mage-server
|
|
- MAGE_MAX_SECONDS_IDLE=6000
|
|
- MAGE_AUTHENTICATION_ACTIVATED=false
|
|
volumes:
|
|
- xmage-db:/xmage/db
|
|
- xmage-saved:/xmage/saved
|
|
volumes:
|
|
xmage-db:
|
|
xmage-saved:
|