diff options
author | Johan Lundberg <lundberg@nordu.net> | 2015-03-30 17:19:16 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2015-03-30 17:19:16 +0200 |
commit | d6d496a7ab3d01550f25e48581ae7e53e559f42d (patch) | |
tree | 7802557246f6c3c96a95a778b34c71cce5fab361 /global/overlay/etc/puppet | |
parent | 38633a33922c893185938d53c4b7e701d13a8957 (diff) |
Added more docker images to sto-tug-kvm2.sunet-ops-2015-03-30-v01
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r-- | global/overlay/etc/puppet/manifests/cosmos-site.pp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index a519ccf..b4ea64d 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -698,6 +698,8 @@ node 'cdr1.sunet.se' { node 'sto-tug-kvm2.swamid.se' { docker::image {'docker.sunet.se/flog/postgresql-9.3': } + docker::image {'docker.sunet.se/flog/nginx': } + docker::image {'docker.sunet.se/flog/flog_app': } file {'/opt/docker/postgresql_data': ensure => 'directory', } @@ -708,6 +710,19 @@ node 'sto-tug-kvm2.swamid.se' { image => 'docker.sunet.se/flog/postgresql-9.3', use_name => true, volumes => ['/opt/docker/postgresql_data/:/var/lib/postgresql/','/var/log/flog_db/:/var/log/postgresql/'], + } -> + docker::run {'flog_app': + image => 'docker.sunet.se/flog/flog_app', + use_name => true, + links => ['flog_db:flog_db'], + volumes => ['/opt/flog/dotenv:/opt/flog/.env','/var/log/flog/:/opt/flog/logs/'], + } -> + docker::run {'flog_nginx': + image => 'docker.sunet.se/flog/nginx', + use_name => true, + ports => ['80:80', '443:443'], + links => ['flog_app:flog_app'], + volumes => ['/opt/flog/nginx/sites-enabled/:/etc/nginx/sites-enabled/','/opt/flog/nginx/certs/:/etc/nginx/certs', '/var/log/flog_nginx/:/var/log/nginx'], } } |