Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgresql support #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Postgresql support #21

wants to merge 1 commit into from

Conversation

infeeeee
Copy link

@infeeeee infeeeee commented Aug 3, 2023

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 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant