- Clone this repo on a machine where you'd like to deploy api application
- Copy
docker/nginx/nginx.conf.dist
todocker/nginx/nginx.conf
- Copy
docker-compose.override.yml.dist
todocker-compose.override.yml
- Copy
docker-compose.yml.dist
todocker-compose.yml
- Edit
docker/nginx/nginx.conf
and change '127.0.0.1' with Wobbly API domain - Edit
docker-compose.override.yml
and changeMAILER_USER
,MAILER_PASSWORD
,MAILER_SMTP
,MAILER_SENDER_NAME
,MAILER_SENDER_EMAIL
,MAILER_MANAGER_EMAIL
values - Edit
docker-compose.override.yml
and change 'GRAPHQL_URL' value with Wobbly GraphQL Engine domain name [eg.http://127.0.0.1:8080/v1/graphql
] - Edit
docker-compose.override.yml
and changeGRAPHQL_ACCESS_KEY
toHASURA_GRAPHQL_ADMIN_SECRET
value [look at the Wobbly GraphQL Engine instance] - Edit
docker-compose.override.yml
and change 'APP_URL' value with Wobbly Frontend domain name [eg.http://127.0.0.1
] - Edit
docker-compose.override.yml
and changeJWT_SECRET_KEY
to something secure - Edit
docker-compose.override.yml
and changeENCRYPTION_CRYPTO_KEY
andENCRYPTION_CRYPTO_IV
[follow the instructions here nodejs/node#16746 (comment)] - Edit
docker-compose.override.yml
and changeBILLWERK_CLIENT_ID
,BILLWERK_CLIENT_SECRET
,BILLWERK_HOST
values docker-compose up -d --build
docker exec -ti <nodejs-docker-container> bash -c 'npm install'
docker exec -ti <nodejs-docker-container> bash -c 'npm run start:prod'
- Frontend application will be
http://127.0.0.1:8081