mage/docker-compose.yml
Sebastian Di Luzio 936c31ae73 feat: build image from source (#3)
* 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
2025-01-01 14:30:25 +01:00

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: