mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit fixes checking of a VM that has already been identified as ready. Without this change a ready VM that has failed will be identified as having failed, but will not successfully be removed from the ready queue. Additionally, the default vm_checktime value has been reduced from 15 to 1 to ensure that ready VMs are checked within one minute of the time they have reached the ready state by default. Lastly, the docker-compose files are updated to specify that the redis instance used is a local redis instance.
31 lines
672 B
YAML
31 lines
672 B
YAML
# For local development run with a dummy provider
|
|
version: '3.2'
|
|
services:
|
|
vmpooler:
|
|
build:
|
|
context: ../
|
|
dockerfile: docker/Dockerfile_local
|
|
volumes:
|
|
- type: bind
|
|
source: ${PWD}/vmpooler.yaml
|
|
target: /etc/vmpooler/vmpooler.yaml
|
|
ports:
|
|
- "4567:4567"
|
|
networks:
|
|
- redis-net
|
|
environment:
|
|
- VMPOOLER_DEBUG=true # for use of dummy auth
|
|
- VMPOOLER_CONFIG_FILE=/etc/vmpooler/vmpooler.yaml
|
|
- REDIS_SERVER=redislocal
|
|
image: vmpooler-local
|
|
depends_on:
|
|
- redislocal
|
|
redislocal:
|
|
image: redis
|
|
ports:
|
|
- "6379:6379"
|
|
networks:
|
|
- redis-net
|
|
|
|
networks:
|
|
redis-net:
|