- Copy
.env.example
to.env.production
and.env.development
and fill out with the appropriate values based on your desired environment - Do the same for the
.env.example
file within thefrontend
directory docker-compose up --build
- The MySQL container will be built and ran first
- The backend-development container uses Air to watch for files and automatically recompile the application; this container will not attempt to run until the MySQL image is running and returns a healthy response
- The frontend-development container includes Vite, Vue, and other dependencies and will watch for changes
- Visit
localhost:8000
to interact with the front end
docker exec -it backend-development bash
make build
exit
./go-web-service-{ENVIRONMENT}