Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Docker

This directory contains additional Dockerfiles for images built by PlanDev.

Build

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

cd plandev
./gradlew assemble

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

docker build -t plandev-hasura -f ./docker/Dockerfile.hasura .
docker build -t plandev-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 plandev-hasura -d -p 8080:8080 plandev-hasura
docker run --name plandev-postgres -d -p 5432:5432 --env-file ./.env plandev-postgres