Wayfarer Training Federation target organization
./build.shthis will create the docker images for each part of the stack, as well as fetching application dependencies.- Review the configuration in
default.env. Any overrides can go into.envusing the same variable names as their default counterparts. ./deploy.shwill deploy the stack. You need to have initialized docker swarm (or usedocker swarm initto do so).
cd ticketApifrom project root, cd into the ticketApi directory.docker build -t ticket-api .build the ticket-api image.cd ../ticketAppcd into the ticketApp directory.docker build -t ticket-app .build the ticket-app image.cd ../wayfarerDBcd into the wayfarerDB directory.docker build -t wayfarer-db .build the db image.cd ../wayfarerOAuthcd into the wayfarerOAuth directory.docker build -t wayfarer-oauth .build the wayfarer-oauth image.cd ../wayfarerOAuthDBcd into the wayfarerOAuthDB directory.docker build -t wayfarer-oauth-db .build the db image.cd ..change to the project rootdocker swarm initinitialize docker swarmdocker stack deploy -c docker-compose.yml wayfarer-ticketdeploy the stack.
docker stack rm wayfarer-ticket