Skip to content

BenoitRanque/guembe-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Bienvenido Benoit Ranque
Apr 8, 2019
cbcb0b0 · Apr 8, 2019

History

36 Commits
Mar 22, 2019
Feb 24, 2019
Apr 8, 2019
Apr 3, 2019
Apr 8, 2019
Apr 8, 2019
Mar 13, 2019
Apr 8, 2019

Repository files navigation

server

Multi application server monorepo

Example .env file:

PG_DATABASE=postgres
PG_USERNAME=postgres
PG_PASSWORD=postgres
[email protected]
PGADMIN_DEFAULT_PASSWORD=password
HASURA_GRAPHQL_ADMIN_SECRET=secret
# at least 32 characters
AUTH_JWT_SECRET=secret

Building and transfering an image in production

1. Build & Save the production docker image

# build image for production
docker-compose -f docker-compose.yml build
# find image id
docker images
# save image
docker save <IMAGE_ID> --output dist/<image.tag>.tar

2. Load and tag Image in production environment

sudo docker load --input path/to/<image.tag>.tar
# find image id
sudo docker images
# tag image
sudo docker tag <IMAGE_ID> <image:tag>

About

Monolithic multi application server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published