Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

casKd-dev/magnetissimo-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Magnetissimo on Docker

This container runs Magnetissimo in a container based on the Elixir Alpine Linux Image.

Quick Start

To get started, first pull this repository and enter the directory

git clone https://github.com/casKd-dev/magnetissimo-docker

cd magnetissimo-docker

Following up, set the variables to match up in your Compose file.

nano docker-compose.yml

The following variables must match or the connection will fail:

database magnetissimo
POSTGRES_USER MAG_USERNAME
POSTGRES_PASSWORD MAG_PASSWORD

Note: It is not required that you use the incuded database, you can use a external one too and comment out the database service in the Compose file

The other variables can be left as default.

Now you would want to start your container by executing:

docker-compose up -d

Note: If you do not have docker-compose installed you can follow this link to install it!

And voila, Magnetissimo should be available at http://localhost:4000. If you wish to change this port you can do so in the docker-compose.yml file.

Building

You can build the latest version by executing docker build build/ --tag=magnetissimo from the root of the repository. If you want to build on top of this image you can use FROM caskd/magnetissimo-docker:latest in your Dockerfile.

Useful Links

Magnetissimo GitHub Repository

Elixir Docs

Docker Hub