Skip to content

Conversation

@MikeMichel
Copy link
Contributor

No description provided.

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
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
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
Copy link
Owner

AlexGaspar commented May 20, 2016

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

@MikeMichel
Copy link
Contributor Author

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

@AlexGaspar
Copy link
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
Contributor Author

in docker-compose.yml you mean?

@AlexGaspar
Copy link
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