/ceylon-docker

Dockerfiles for Ceylon related images

Apache License 2.0Apache-2.0

Setup PostgreSQL backend for Ceylon Herd image

Create PostgreSQL Data instance

docker run -i -t -name ceylon-herd-dbstore -v /var/lib/postgresql/data busybox sh

Create PostgreSQL instance

docker run -d -volumes-from ceylon-herd-dbstore -e POSTGRES_PASSWORD=ceylon-herd -e POSTGRES_USER=ceylon-herd --name ceylon-herd-db postgres

Create Ceylon Herd

docker run -it -p 9000:9000 --name=ceylon-herd --link=ceylon-herd-db:ceylon-herd-db ceylon/ceylon-herd:1.18

You can shutdown all images. Next time simply do;

docker start ceylon-herd-db
docker start ceylon-herd

Now via browser go to http://localhost:9000