Skip to content

Instantly share code, notes, and snippets.

@jdeathe
Last active September 15, 2016 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdeathe/2c24646f6b1b6195a5c6b253d33ee0a5 to your computer and use it in GitHub Desktop.
Save jdeathe/2c24646f6b1b6195a5c6b253d33ee0a5 to your computer and use it in GitHub Desktop.
# From local checkout : clone repo
git clone git@github.com:jdeathe/centos-ssh-apache-php.git \
&& cd centos-ssh-apache-php
# Checkout release branch
git checkout centos-6
# Use --help for usage.
# Use --info to view command that will be run
# Note: -i | install, -u | uninstall
for i in {1..3}; do sudo -E usr/sbin/scmi -n apache-php.pool-1.${i}.1 -m docker \
--env='APACHE_MOD_SSL_ENABLED=true' --env="APACHE_HEADER_X_SERVICE_UID=@${i}.1" \
--setopt='--volume {{NAME}}.data-log-httpd:/var/log/httpd' \
--setopt='--volume {{NAME}}.data-ssl:/etc/services-config/ssl' \
--setopt='--volume apache-php.pool-1.0.1.data-app-log:/var/www/app/var/log' \
-i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment