diff --git a/ckan/lib/systemd/system/ckan.service b/ckan/lib/systemd/system/ckan.service index 093b1e4..35a1b3d 100644 --- a/ckan/lib/systemd/system/ckan.service +++ b/ckan/lib/systemd/system/ckan.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/bin/docker run --rm --name ckan --link=postgres --link=redis --link=solr -v /srv/ckan/conf:/etc/ckan -v /srv/ckan/data:/srv/ckan/storage ckan +ExecStart=/usr/bin/docker run --rm --name ckan --link=postgres --link=redis --link=solr -p 127.0.0.1:9003:8003 -v /srv/ckan/conf:/etc/ckan -v /srv/ckan/data:/srv/ckan/storage ckan ExecStop=/usr/bin/docker stop ckan [Install] diff --git a/openmapkit/lib/systemd/system/openmapkit.service b/openmapkit/lib/systemd/system/openmapkit.service index d548903..9c10491 100644 --- a/openmapkit/lib/systemd/system/openmapkit.service +++ b/openmapkit/lib/systemd/system/openmapkit.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/usr/bin/docker run --rm --name openmapkit -v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js -v /srv/openmapkit/data:/srv/openmapkit/data openmapkit +ExecStart=/usr/bin/docker run --rm --name openmapkit -p 127.0.0.1:9007:8007 -v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js -v /srv/openmapkit/data:/srv/openmapkit/data openmapkit ExecStop=/usr/bin/docker kill openmapkit [Install]