2022-06-19 23:45:28 +00:00
|
|
|
services:
|
|
|
|
runner:
|
|
|
|
build:
|
|
|
|
context: ..
|
|
|
|
dockerfile: .docker/runner/Dockerfile
|
2022-06-25 12:12:55 +00:00
|
|
|
target: dev
|
2022-06-25 17:51:52 +00:00
|
|
|
args:
|
|
|
|
- DGID=${DGID}
|
2022-06-19 23:45:28 +00:00
|
|
|
image: dockermc
|
2022-06-25 12:12:55 +00:00
|
|
|
environment:
|
|
|
|
- MC_VERSION=1.19
|
2022-06-25 17:51:52 +00:00
|
|
|
- DGID=${DGID}
|
2022-06-25 12:12:55 +00:00
|
|
|
volumes:
|
|
|
|
- ../src:/src
|
2022-06-25 17:51:52 +00:00
|
|
|
- dockermc:/mcserver
|
|
|
|
- ./docker-compose.server.yml:/docker-compose.server.yml
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
container_name: dockermc-runner
|
|
|
|
volumes:
|
|
|
|
dockermc:
|
|
|
|
name: dockermc
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: ../mcserver
|