generated from alphane/template
7b7330d9b4133e0874a71945d6a8cb284d7a262d
Build and Push Docker Image / build (push) Successful in 1m16s
calebburke.dev
Deploying
Production Environment (remote)
TODO
Test Production Build Locally
Files:
- Dockerfile
- docker-compose.yml
- Non-commited
.envfile
-
Create a
.envfile in top level directory with the appropriate values.HOST_PORT=8080 API_PORT=8080 DB_HOST=db DB_USERNAME=calebburkedev DB_DATABASE=calebburkedev_production DB_PASSWORD=DevPwd99! DB_PORT=5432 DB_TRUST_SERVER_CERTIFICATE=true VITE_APPLICATION_NAME="CALEB BURKE DEV" VITE_API_BASE_URL="http://localhost:8080" VITE_AUTH0_CLIENT_ID="TRlKzdNBynpo9tU1RSmnF0p8d3IEam4J" VITE_AUTH0_AUDIENCE="alphane-api" VITE_AUTH0_DOMAIN="https=//dev-7mdjzcgwirhocfwm.ca.auth0.com" -
(optional) If testing build arguments do
docker compose build \ --build-arg RELEASE_TAG=$(date +%Y.%m.%d) \ --build-arg GIT_COMMIT_HASH=$(git rev-parse HEAD)and then in the next step drop the
--buildflag. -
Build and boot the production image via
docker compose up --build -
Go to http://localhost:3000/ and log in.
-
Navigate around the app and do some stuff and see if it works.
Resources
Description
Languages
TypeScript
50.2%
Vue
26.7%
SCSS
19.6%
Ruby
2%
Dockerfile
0.6%
Other
0.8%