Moves containers name to pierreozoux
This commit is contained in:
parent
869aaf24ae
commit
09acbdacc2
14 changed files with 22 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM indiehosters/apache
|
||||
FROM pierreozoux/apache
|
||||
|
||||
# Download latest version of Known into /app
|
||||
RUN mkdir -p ; cd /app ; curl -L http://assets.withknown.com/releases/known-0.6.5.tgz | tar xz
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM indiehosters/apache
|
||||
FROM pierreozoux/apache
|
||||
|
||||
# Download latest version of Wordpress into /app
|
||||
RUN curl -L https://wordpress.org/wordpress-4.0.tar.gz | tar xz && \
|
||||
|
|
|
@ -13,13 +13,13 @@ if [ -f /tmp/vagrantfile-user-data ]; then
|
|||
fi
|
||||
|
||||
# Pull relevant docker images
|
||||
docker pull indiehosters/haproxy
|
||||
docker pull indiehosters/confd
|
||||
docker pull indiehosters/postfix-forwarder
|
||||
docker pull indiehosters/nginx
|
||||
docker pull indiehosters/mysql
|
||||
docker pull indiehosters/wordpress
|
||||
docker pull indiehosters/known
|
||||
docker pull pierreozoux/haproxy
|
||||
docker pull pierreozoux/confd
|
||||
docker pull pierreozoux/email-forwarder
|
||||
docker pull pierreozoux/nginx
|
||||
docker pull pierreozoux/mysql
|
||||
docker pull pierreozoux/wordpress
|
||||
docker pull pierreozoux/known
|
||||
|
||||
# Install unit-files
|
||||
sudo cp /data/indiehosters/unit-files/* /etc/systemd/system && systemctl daemon-reload
|
||||
|
@ -32,8 +32,8 @@ mkdir -p /data/runtime/postfix
|
|||
|
||||
# Configure and start HAproxy
|
||||
cp /data/indiehosters/scripts/unsecure-certs/indiehosters.dev.pem /data/runtime/haproxy/approved-certs/default.pem
|
||||
systemctl enable haproxy-confd.service
|
||||
systemctl start haproxy-confd.service
|
||||
systemctl enable confd.service
|
||||
systemctl start confd.service
|
||||
systemctl enable haproxy.path
|
||||
systemctl start haproxy.path
|
||||
|
||||
|
@ -42,8 +42,8 @@ touch /data/runtime/postfix/hostname
|
|||
touch /data/runtime/postfix/destinations
|
||||
touch /data/runtime/postfix/forwards
|
||||
|
||||
systemctl enable postfix.service
|
||||
systemctl start postfix.service
|
||||
systemctl enable email-forwarder.service
|
||||
systemctl start email-forwarder.service
|
||||
|
||||
# Adds backup ssh key to the list of known hosts
|
||||
ssh -o StrictHostKeyChecking=no `cat /data/BACKUP_DESTINATION` "exit"
|
||||
|
|
|
@ -14,7 +14,7 @@ ExecStartPre=/bin/bash -euxc ' \
|
|||
--name mysqldump-%i \
|
||||
--link mysql-%i:db \
|
||||
--env-file /data/domains/%i/mysql/.env \
|
||||
indiehosters/mysql \
|
||||
pierreozoux/mysql \
|
||||
mysqldump \
|
||||
--all-databases \
|
||||
--events \
|
||||
|
|
|
@ -18,7 +18,7 @@ ExecStart=/usr/bin/docker run \
|
|||
--name %p \
|
||||
-v /data/runtime/haproxy/:/etc/haproxy/ \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
indiehosters/confd
|
||||
pierreozoux/confd
|
||||
ExecReload=/usr/bin/docker restart %p
|
||||
ExecStop=/usr/bin/docker stop %p
|
||||
|
|
@ -15,7 +15,7 @@ ExecStart=/usr/bin/docker run \
|
|||
--name %p \
|
||||
-v /data/runtime/postfix/:/data \
|
||||
-p 25:25 \
|
||||
indiehosters/postfix-forwarder
|
||||
pierreozoux/email-forwarder
|
||||
ExecReload=/usr/bin/docker restart %p
|
||||
ExecStop=/usr/bin/docker stop %p
|
||||
|
|
@ -16,7 +16,7 @@ ExecStart=/usr/bin/docker run \
|
|||
-v /data/runtime/haproxy:/etc/haproxy \
|
||||
-p 80:80 \
|
||||
-p 443:443 \
|
||||
indiehosters/haproxy
|
||||
pierreozoux/haproxy
|
||||
ExecReload=/usr/bin/docker restart %p
|
||||
ExecStop=/usr/bin/docker stop %p
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ ExecStart=/usr/bin/docker run \
|
|||
-v /data/domains/%i/%p/known-content:/app/known-content \
|
||||
-v /data/domains/%i/%p/.htaccess:/app/.htaccess \
|
||||
--env-file /data/domains/%i/%p/.env \
|
||||
indiehosters/known
|
||||
pierreozoux/known
|
||||
ExecReload=/usr/bin/docker restart %p-%i
|
||||
ExecStop=/usr/bin/docker stop %p-%i
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ ExecStart=/usr/bin/docker run \
|
|||
-v /data/runtime/domains/%i/%p/db_files:/var/lib/mysql \
|
||||
-e STARTUP_SQL="/data/domains/%i/%p/dump.sql" \
|
||||
--env-file /data/domains/%i/%p/.env \
|
||||
indiehosters/mysql
|
||||
pierreozoux/mysql
|
||||
ExecReload=/usr/bin/docker restart %p-%i
|
||||
ExecStop=/usr/bin/docker stop %p-%i
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ ExecStartPre=-/usr/bin/docker rm %p-%i
|
|||
ExecStart=/usr/bin/docker run \
|
||||
--name %p-%i \
|
||||
-v /data/runtime/domains/%i/%p/www-content:/app \
|
||||
indiehosters/nginx
|
||||
pierreozoux/nginx
|
||||
ExecReload=/usr/bin/docker restart %p-%i
|
||||
ExecStop=/usr/bin/docker stop %p-%i
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ ExecStartPre=-/usr/bin/docker rm %p-%i
|
|||
ExecStart=/usr/bin/docker run \
|
||||
--name %p-%i \
|
||||
-v /data/domains/%i/%p/www-content:/app \
|
||||
indiehosters/nginx
|
||||
pierreozoux/nginx
|
||||
ExecReload=/usr/bin/docker restart %p-%i
|
||||
ExecStop=/usr/bin/docker stop %p-%i
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ ExecStart=/usr/bin/docker run \
|
|||
-v /data/domains/%i/%p/wp-content:/app/wp-content \
|
||||
-v /data/domains/%i/%p/.htaccess:/app/.htaccess \
|
||||
--env-file /data/domains/%i/%p/.env \
|
||||
indiehosters/wordpress
|
||||
pierreozoux/wordpress
|
||||
ExecReload=/usr/bin/docker restart %p-%i
|
||||
ExecStop=/usr/bin/docker stop %p-%i
|
||||
|
||||
|
|
Loading…
Reference in a new issue