Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Docker

This directory contains additional Dockerfiles for images built by Aerie.

Build

First build Aerie to make sure the SQL files are properly added to the deployment directory:

cd aerie
./gradlew assemble

Next, still from the top-level Aerie directory, build the images from the provided Dockerfiles:

docker build -t aerie-hasura -f ./docker/Dockerfile.hasura .
docker build -t aerie-postgres -f ./docker/Dockerfile.postgres .

Run

To run the images you can use the following commands. Note these are just for testing purposes:

docker run --name aerie-hasura -d -p 8080:8080 aerie-hasura
docker run --name aerie-postgres -d -p 5432:5432 --env-file ./.env aerie-postgres