Commit 20be5fe3 authored by David Nichols's avatar David Nichols
Browse files

updated env vars in docker helper files

parent 1b7f4896
......@@ -11,6 +11,7 @@ services:
OMQ_DB_HOST: pg
OMQ_DB_USER: postgres
OMQ_DB_PASS: omq
TZ: Europe/Prague
volumes:
- "./omq/user:/opt/qorus/user"
- "./omq/log:/opt/qorus/log"
......@@ -22,6 +23,8 @@ services:
image: postgres:13
environment:
POSTGRES_PASSWORD: omq
TZ: Europe/Prague
PGTZ: Europe/Prague
volumes:
- "./pgsql-data:/var/lib/postgresql/data"
adminer:
......
@echo off
set -e
docker run --name qorus-postgres --restart=always --volume qorus-postgres-data:/var/lib/postgresql -d dregistry.qoretechnologies.com/qorus-postgres
docker run --name qorus-postgres -e POSTGRES_PASSWORD=omq -e PGTZ=Europe/Prague \
-e TZ=Europe/Prague --restart=always --volume qorus-postgres-data:/var/lib/postgresql \
-d dregistry.qoretechnologies.com/qorus-postgres
rem wait for postgres to be running
timeout /t 5 /nobreak > NUL
docker run --name qorus --restart=always --link qorus-postgres:database -p 8001:8001 -p 8011:8011 \
-v `pwd`/omq/etc:/opt/qorus/etc -v `pwd`/omq/log:/opt/qorus/log -v `pwd`/omq/user:/opt/qorus/user \
-e QORUS_ADMIN_PASS=admin -d dregistry.qoretechnologies.com/qorus:5.1
-v `pwd`/omq/etc:/opt/qorus/etc -v `pwd`/omq/log:/opt/qorus/log -v `pwd`/omq/user:/opt/qorus/user \
-e QORUS_ADMIN_PASS=admin -e OMQ_DB_NAME=postgres -e OMQ_DB_TYPE=pgsql -e OMQ_DB_USER=postgres \
-e OMQ_DB_PASS=omq -e OMQ_DB_HOST=database -e TZ=Europe/Prague \
-d dregistry.qoretechnologies.com/qorus:5.1
docker run --name adminer --restart=always --link qorus-postgres:database -d -p 8080:8080 adminer
......
@echo off
set -e
docker run --name qorus-postgres --restart=always --volume qorus-postgres-data:/var/lib/postgresql -d dregistry.qoretechnologies.com/qorus-postgres
docker run --name qorus-postgres -e POSTGRES_PASSWORD=omq -e PGTZ=Europe/Prague \
-e TZ=Europe/Prague --restart=always --volume qorus-postgres-data:/var/lib/postgresql \
-d dregistry.qoretechnologies.com/qorus-postgres
rem wait for postgres to be running
timeout /t 5 /nobreak > NUL
docker run --name qorus --restart=always --link qorus-postgres:database -p 8001:8001 -p 8011:8011 \
-v `pwd`/omq/etc:/opt/qorus/etc -v `pwd`/omq/log:/opt/qorus/log -v `pwd`/omq/user:/opt/qorus/user \
-e QORUS_ADMIN_PASS=admin -d dregistry.qoretechnologies.com/qorus:5.1
-v `pwd`/omq/etc:/opt/qorus/etc -v `pwd`/omq/log:/opt/qorus/log -v `pwd`/omq/user:/opt/qorus/user \
-e QORUS_ADMIN_PASS=admin -e OMQ_DB_NAME=postgres -e OMQ_DB_TYPE=pgsql -e OMQ_DB_USER=postgres \
-e OMQ_DB_PASS=omq -e OMQ_DB_HOST=database -e TZ=Europe/Prague \
-d dregistry.qoretechnologies.com/qorus:5.1
docker run --name adminer --restart=always --link qorus-postgres:database -d -p 8080:8080 adminer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment