From 322039078f0e79313238f8c7a773c153f5f656b3 Mon Sep 17 00:00:00 2001 From: Manoj K Date: Tue, 17 Jun 2025 23:20:02 +0530 Subject: [PATCH] chore: add production environment config and AWS Docker compose setup --- docker-compse.aws.yaml | 59 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 docker-compse.aws.yaml diff --git a/docker-compse.aws.yaml b/docker-compse.aws.yaml new file mode 100644 index 0000000..c793dff --- /dev/null +++ b/docker-compse.aws.yaml @@ -0,0 +1,59 @@ +version: "3.8" + +services: + core: + container_name: core-app + image: redplanethq/core:${VERSION} + environment: + - NODE_ENV=${NODE_ENV} + - DATABASE_URL=${DATABASE_URL} + - DIRECT_URL=${DIRECT_URL} + - SESSION_SECRET=${SESSION_SECRET} + - ENCRYPTION_KEY=${ENCRYPTION_KEY} + - MAGIC_LINK_SECRET=${MAGIC_LINK_SECRET} + - LOGIN_ORIGIN=${LOGIN_ORIGIN} + - APP_ORIGIN=${APP_ORIGIN} + - REDIS_HOST=${REDIS_HOST} + - REDIS_PORT=${REDIS_PORT} + - REDIS_TLS_DISABLED=${REDIS_TLS_DISABLED} + - NEO4J_URI=${NEO4J_URI} + - NEO4J_USERNAME=${NEO4J_USERNAME} + - NEO4J_PASSWORD=${NEO4J_PASSWORD} + - OPENAI_API_KEY=${OPENAI_API_KEY} + - AUTH_GOOGLE_CLIENT_ID=${AUTH_GOOGLE_CLIENT_ID} + - AUTH_GOOGLE_CLIENT_SECRET=${AUTH_GOOGLE_CLIENT_SECRET} + - ENABLE_EMAIL_LOGIN=${ENABLE_EMAIL_LOGIN} + ports: + - "3033:3000" + depends_on: + - redis + - neo4j + networks: + - core + + redis: + container_name: core-redis + image: redis:7 + ports: + - "6379:6379" + networks: + - core + + neo4j: + container_name: core-neo4j + image: neo4j:5 + environment: + - NEO4J_AUTH=${NEO4J_AUTH} + ports: + - "7474:7474" + - "7687:7687" + volumes: + - type: bind + source: /efs/neo4j + target: /data + networks: + - core + +networks: + core: + driver: bridge