Skip to content

BenoitRanque/guembe-server

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