This commit is contained in:
2024-10-20 21:45:16 +02:00
parent 730de588fd
commit 33312b7d48
14 changed files with 2254 additions and 4 deletions

29
Makefile Normal file
View File

@@ -0,0 +1,29 @@
clean:
@docker stop QM1
@docker rm QM1
build: clean
@docker image rm mqtest:latest
@docker image prune --force
@docker buildx build -t mqtest:latest .
run: build
@docker run \
--name QM1 \
--env LICENSE=accept \
--env MQ_QMGR_NAME=QM1 \
--env MQ_DEV=TRUE \
--env MQ_APP_USER=app \
--env MQ_APP_PASSWORD=passw0rd \
--env MQ_ADMIN_USER=admin \
--env MQ_ADMIN_PASSWORD=passw0rd \
--env MQ_ENABLE_METRICS=true \
--publish 1414:1414 \
--publish 9443:9443 \
--publish 9157:9157 \
--detach \
mqtest:latest
@sleep 5
@docker ps
@sleep 10
@docker logs QM1