Check out the post.
-
Rename .env.staging-sample to .env.staging, .env.staging.db-sample to .env.staging.db, and .env.staging.proxy-companion-sample to .env.staging.proxy-companion. Update the environment variables.
-
Build the images and run the containers:
$ docker-compose -f docker-compose.staging.yml up -d --build
Test it out.
-
Rename .env.prod-sample to .env.prod, .env.prod.db-sample to .env.prod.db, and .env.prod.proxy-companion-sample to .env.prod.proxy-companion. Update the environment variables.
-
Build the images and run the containers:
$ docker-compose -f docker-compose.prod.yml up -d --build
Test it out.