From 45f3e5d099cdda68cb1f517a599ba2d93063784f Mon Sep 17 00:00:00 2001 From: Clawd Date: Sun, 1 Mar 2026 00:10:58 +0100 Subject: [PATCH] feat(infra): add staging environment setup with docker-compose and scripts --- docker-compose.staging.yml | 28 ++++++++++++++++++++++++++++ scripts/create-staging.sh | 0 2 files changed, 28 insertions(+) create mode 100644 docker-compose.staging.yml create mode 100755 scripts/create-staging.sh diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml new file mode 100644 index 0000000..7c3e84f --- /dev/null +++ b/docker-compose.staging.yml @@ -0,0 +1,28 @@ +version: "3.8" + +services: + frontend: + container_name: staging-gravl-PLACEHOLDER-frontend + networks: + - staging-network + environment: + - VITE_API_URL=http://localhost:3001 + + backend: + container_name: staging-gravl-PLACEHOLDER-backend + networks: + - staging-network + environment: + - NODE_ENV=staging + - PORT=3001 + - CORS_ORIGIN=http://localhost:5173 + + db: + container_name: staging-gravl-PLACEHOLDER-db + image: postgres:15-alpine + networks: + - staging-network + +networks: + staging-network: + driver: bridge diff --git a/scripts/create-staging.sh b/scripts/create-staging.sh new file mode 100755 index 0000000..e69de29