You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# UPDATE 02/14/2025 - I haven't utilized docker compose to build the images, only through `docker run` for each image.This can be changed in the future.
# This docker compose file is necessary to run both Dockerfiles;
# Run `docker compose build` to trigger the dockerfile build
# Once successful, create the containers using `docker compose up`
# To turn off and remove containers, use `docker compose down`
services:
frontend:
build:
context: . # Root directory
dockerfile: Dockerfile.frontend
args:
platform: amd64
image: guardql-frontend:latest # name of the frontend docker image
ports:
- '8081:80' # frontend port
env_file:
- .env
backend:
build:
context: . # Root directory
dockerfile: Dockerfile.backend
args:
platform: amd64
image: guardql-backend:latest # name of the backend docker image