Skip to content

Instantly share code, notes, and snippets.

@sshaplygin
Created January 6, 2020 22:18
Show Gist options
  • Save sshaplygin/a55100d928a3226f8ec5698da4c9ca33 to your computer and use it in GitHub Desktop.
Save sshaplygin/a55100d928a3226f8ec5698da4c9ca33 to your computer and use it in GitHub Desktop.
Basic docker-compose file to rethinkDB
version: '3'
services:
rethink:
image: rethinkdb # load latest rethinkDB image
volumes:
- ./rethinkdb_data:/data/rethinkdb_data # volume for load backup or save new data files on mapping
ports:
- 8080:8080 # Listening for administrative HTTP connections on port 8080
- 28015:28015 # Listening for client driver connections on port 28015
- 29015:29015 # Listening for intracluster connections on port 29015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment