Sign inSign up

funkis/tile-server

By funkis

•Updated almost 9 years ago

Tile server

Image
1

4.1K

funkis/tile-server repository overview

Tile is an API that handles data sharing between members of a group of people. Groups and members can be created and managed from this API.

To start an instance of a Tile Server:

⁠1. Create a docker-compose file

mongo:
  image: mongo:3.2
  restart: always
  container_name: tile_server_mongo
  volumes:
    - ./db:/data/db:rw

sails:
  image: funkis/tile-server
  restart: always
  command: "npm start --prod --port 80"
  ports:
    - "3000:80"
  environment:
    - sails_models__connection=someMongodbServer
    - sails_connections__someMongodbServer__host=tile_server_mongo
  links:
    - mongo

⁠2. Start the tile server

docker-compose up

A tile server is now running on the port specified in the docker-compose.yml file.

Tag summary

Content type

Image

Digest

Size

294.7 MB

Last updated

almost 9 years ago

docker pull funkis/tile-server