Sign inSign up

mkroli/shurl

By mkroli

•Updated almost 11 years ago

An URL shortener using cassandra (https://github.com/mkroli/shurl)

Image
1

1.8K

mkroli/shurl repository overview

⁠ShUrl

An URL shortener which uses Cassnadra.

⁠Installation (Docker Compose)

docker-compose up -d

⁠Installation (Docker)

Cassandra

docker run -d --name cassandra cassandra

ShUrl

docker run --name shurl -d --link cassandra:cassandra -p 80:8080 mkroli/shurl

⁠Cassandra

ShUrl will use the Keyspace with the name "shurl". If it doesn't exist yet it will be created with the following settings:

CREATE KEYSPACE IF NOT EXISTS shurl WITH replication = {
  'class': 'SimpleStrategy',
  'replication_factor': 1
}

In any non-testing environment the Keyspace should probably be pre-created.

Tag summary

Content type

Image

Digest

sha256:67075bcbe…

Size

230.1 MB

Last updated

almost 11 years ago

docker pull mkroli/shurl