Adding a docker compose for local dev

Changed the dummy example file to match the expected LOG location
This commit is contained in:
Samuel Beaulieu 2018-06-19 11:51:29 -05:00
parent e781ed258b
commit 987cdcdee3
2 changed files with 16 additions and 1 deletions

15
docker-compose.yml Normal file
View file

@ -0,0 +1,15 @@
# For local development run with a dummy provider
version: '3'
services:
aio-local:
build:
context: .
dockerfile: Dockerfile-aio
volumes:
- ".:/var/lib/vmpooler"
ports:
- "80:4567"
environment:
- VMPOOLER_DEBUG=true # for use of dummy auth
- VMPOOLER_CONFIG_FILE=vmpooler.yaml.dummy-example
image: vmpooler-aio-local

View file

@ -14,7 +14,7 @@
:config: :config:
site_name: 'vmpooler' site_name: 'vmpooler'
logfile: '/var/log/vmpooler/vmpooler.log' logfile: '/var/log/vmpooler.log'
task_limit: 10 task_limit: 10
timeout: 15 timeout: 15
vm_checktime: 15 vm_checktime: 15