Created
August 8, 2022 03:33
-
-
Save deeso/4fa8c1a16e4cba39afa893e324fcf4ff to your computer and use it in GitHub Desktop.
Creating a basic indradb docker compose setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
indradb: | |
build: | |
context: . | |
dockerfile: indradb.Dockerfile | |
ports: | |
- "27620:27615" # mongo db running here too | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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