Skip to content

Modified Dockerfile for Centos Wordpress#76

Merged
jperrin merged 1 commit intoCentOS:masterfrom
procrypt:centos_wordpress
Oct 11, 2016
Merged

Modified Dockerfile for Centos Wordpress#76
jperrin merged 1 commit intoCentOS:masterfrom
procrypt:centos_wordpress

Conversation

@procrypt
Copy link
Copy Markdown

@procrypt procrypt commented Jul 29, 2016

Fix #74,

  • Removed dependencies from Supervisord.
  • Changed environment variables.
  • Modified start script.
  • Modified Dockerfile.

CC @dustymabe

@dustymabe
Copy link
Copy Markdown
Contributor

hey abhishek, I think this mostly looks good. I was able to use it with mariadb pulled from centos.

i will do some more testing with atomicapp and see if it works with atomicapp as well.

Also please update the README. Making it look very similar to https://github.com/CentOS/CentOS-Dockerfiles/blob/master/etherpad/README.md would probably be best.

@dustymabe
Copy link
Copy Markdown
Contributor

Tested with atomicapp - needs a few tweaks, but works fine.

@dustymabe
Copy link
Copy Markdown
Contributor

please update the readme and then we can merge soon after

@procrypt
Copy link
Copy Markdown
Author

@dustymabe Sure i'll make the changes.
Thanks :)

Comment thread wordpress/centos7/scripts/start.sh Outdated
/'AUTH_SALT'/s/put your unique phrase here/`pwgen -s -1 65`/
/'SECURE_AUTH_SALT'/s/put your unique phrase here/`pwgen -s -1 65`/
/'LOGGED_IN_SALT'/s/put your unique phrase here/`pwgen -s -1 65`/
/'NONCE_SALT'/s/put your unique phrase here/`pwgen -s -1 65`/" /var/www/html/wp-config-sample.php > /var/www/html/wp-config.php
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

hey @abhi1004 can we actually use openssl here instead of pwgen so that we don't have to install the epel repo.

here is an example of how to do this: https://github.com/dustymabe/summit-2016-container-lab/blob/master/labs/lab3/wordpress/scripts/config_wordpress.sh#L27-L31

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hi @dustymabe I'll try do it again using openssl.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

done this yet?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done, can you please review.

procrypt pushed a commit to procrypt/CentOS-Dockerfiles that referenced this pull request Aug 16, 2016
Updated README.md file for PR CentOS#76
@procrypt procrypt mentioned this pull request Aug 16, 2016
@procrypt procrypt force-pushed the centos_wordpress branch 2 times, most recently from 6bac9cd to f5722db Compare August 22, 2016 06:26
@jperrin
Copy link
Copy Markdown
Collaborator

jperrin commented Aug 29, 2016

@dustymabe if you're good with this, let me know so I can merge it in.

@dustymabe
Copy link
Copy Markdown
Contributor

hey @procrypt - just update the README and we'll merge. Just start from scratch on the README and follow something like what is done here: https://github.com/CentOS/CentOS-Dockerfiles/blob/master/etherpad/README.md

@procrypt
Copy link
Copy Markdown
Author

procrypt commented Oct 6, 2016

@dustymabe
Copy link
Copy Markdown
Contributor

@procrypt you need to add the changes to this PR. This is what is in this PR: https://github.com/CentOS/CentOS-Dockerfiles/tree/f5722db6eefa45d7a1cf663e636474b9aa681cab/wordpress/centos7

@procrypt
Copy link
Copy Markdown
Author

procrypt commented Oct 6, 2016

@dustymabe There is already a PR for the changes you asked, #81

@procrypt
Copy link
Copy Markdown
Author

procrypt commented Oct 7, 2016

@dustymabe Sorry I didn't understand what you were saying before, I have added the README to this PR.

@dustymabe
Copy link
Copy Markdown
Contributor

hey @jperrin merge away

if you can edit the title and remove "[WIP]" first that would be great

@jperrin jperrin changed the title [WIP] Modified Dockerfile for Centos Wordpress Modified Dockerfile for Centos Wordpress Oct 10, 2016
@dustymabe
Copy link
Copy Markdown
Contributor

ping @jperrin merge! :)

@jperrin
Copy link
Copy Markdown
Collaborator

jperrin commented Oct 11, 2016

I'll pull it down and test/merge in a moment. started it yesterday and got dragged off for other tasks.

@jperrin
Copy link
Copy Markdown
Collaborator

jperrin commented Oct 11, 2016

There's only one minor nit here, and it's in the README. It contains directions for viewing/exposing 8080, but the container itself listens on port 80, so following the directions verbatim doesn't work. It's a minor change, so I'll correct it once it's merged in.

@jperrin jperrin merged commit 51c683b into CentOS:master Oct 11, 2016
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.

3 participants