With his changes it's possible to run opencms_docker with postgresql db. All of the new options fallback to the previous value, so existing users shouldn't notice anything, the old compose file still works with same result.
Added docker compose example: docker-compose-pgsql.yml, updated README as well.
Other small fixes:
image/resources/root/wait-for.sh: made the HOST:PORT parameters optional, defaults to the $DB_HOST:$DB_PORT envvars. This way the user have to set only the $DB_HOST and $DB_PORT as envvars, no duplication needed on the command line.
image/Dockerfile: VOLUME instruction for better mounting.
docker-compose.yml: A lot of old options, they are not needed anymore, the container runs and builds perfectly without them.
image/resources/root/opencms-run.sh: Time zone can be applied by simply setting the TZ envvar, so these timezone related code is not necessary.
Hello, and thank you for this project!
With his changes it's possible to run opencms_docker with postgresql db. All of the new options fallback to the previous value, so existing users shouldn't notice anything, the old compose file still works with same result.
Added docker compose example:
docker-compose-pgsql.yml
, updated README as well.Other small fixes:
image/resources/root/wait-for.sh
: made theHOST:PORT
parameters optional, defaults to the$DB_HOST:$DB_PORT
envvars. This way the user have to set only the$DB_HOST
and$DB_PORT
as envvars, no duplication needed on thecommand
line.image/Dockerfile
:VOLUME
instruction for better mounting.docker-compose.yml
: A lot of old options, they are not needed anymore, the container runs and builds perfectly without them.image/resources/root/opencms-run.sh
: Time zone can be applied by simply setting theTZ
envvar, so these timezone related code is not necessary.