Skip to content

some fixes for multihost#6

Open
MikeMichel wants to merge 1 commit into
AlexGaspar:masterfrom
MikeMichel:master
Open

some fixes for multihost#6
MikeMichel wants to merge 1 commit into
AlexGaspar:masterfrom
MikeMichel:master

Conversation

@MikeMichel

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread entrypoint.sh Outdated
# Configuring settings.ini
cat "$CTF_PATH/settings.tmpl.ini" \
| sed "s/MYSQL_PORT/$MYSQL_PORT/g" \
| sed "/^DB_HOST/ s/mysql/$MYSQL_HOST/" \

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather update settings.tmpl.ini and use the same syntax everywhere.

Also if we do that, I'd like to have a fallback on a default value for the linked case :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, i thought that file comes from the base image.

@AlexGaspar

AlexGaspar commented May 20, 2016

Copy link
Copy Markdown
Owner

Thanks again ! But could I ask you to squash your commits?

@MikeMichel

Copy link
Copy Markdown
Contributor Author

my first rebase of allready pushed commits. not perfect but ok i hope

@AlexGaspar

Copy link
Copy Markdown
Owner

Thanks, it would be great if you can set $MYSQL_HOSTand $MEMCACHED_HOST to mysqland memcachedby default, like this we don't break the current behaviour

@MikeMichel

Copy link
Copy Markdown
Contributor Author

in docker-compose.yml you mean?

@AlexGaspar

Copy link
Copy Markdown
Owner

I meant in entrypoint.sh, but I don't know if it's a good idea in the end

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.

2 participants