Skip to content

Instantly share code, notes, and snippets.

@deeso
Created August 8, 2022 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deeso/4fa8c1a16e4cba39afa893e324fcf4ff to your computer and use it in GitHub Desktop.
Save deeso/4fa8c1a16e4cba39afa893e324fcf4ff to your computer and use it in GitHub Desktop.
Creating a basic indradb docker compose setup
version: '3'
services:
indradb:
build:
context: .
dockerfile: indradb.Dockerfile
ports:
- "27620:27615" # mongo db running here too
FROM ubuntu:latest as server
WORKDIR /root
RUN apt-get update && apt-get -y install wget && \
wget https://github.com/indradb/indradb/releases/download/v3.0.2/indradb-linux.tar.gz && \
tar -zxf indradb-linux.tar.gz
EXPOSE 27615
ENTRYPOINT ["./indradb-server"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment