GeyserConnect/docker-compose.yml
Daniel Quinlan 51fdd7e8a5 move builds steps inside Dockerfile
- add build stage from #1, and extend
  - optionally build from source. COMPILE=true
  - automate copying build artifact from ci.opencollab.dev.  COMPILE=false
- update baseimages to use eclipse-temurin as openjdk image is deprecated
- run as nobody, not root (security)
- add docker-compose.yml
- update docker/README.md
2023-01-16 16:56:31 -08:00

22 lines
561 B
YAML

version: "3.5"
services:
geyser-connect:
image: geyser-connect
container_name: geyser-connect
restart: "unless-stopped"
build:
context: .
dockerfile: docker/Dockerfile
args:
JDK_IMG: eclipse-temurin
JDK_VER: 17-jdk-alpine
MAVEN_VER: 3.8.7-eclipse-temurin-17-alpine
COMPILE: "false" # if false, fetch from repo
GC_VER: "latest" # if COMPILE=false
ports:
- 19132/udp
stdin_open: true # docker run -i
tty: true # docker run -t
volumes:
- $(pwd)/data:/gsc