-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
25 lines (25 loc) · 935 Bytes
/
docker-compose.yaml
File metadata and controls
25 lines (25 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
services:
react:
command: sh -c 'pnpm install && pnpm start'
build:
context: ../
target: dev
tty: true
environment:
NODE_OPTIONS: --openssl-legacy-provider
APP_TITLE: ${APP_TITLE:-Mapswipe Community Dashboard}
APP_ENVIRONMENT: ${APP_ENVIRONMENT:-DEV}
APP_GRAPHQL_ENDPOINT: ${APP_GRAPHQL_ENDPOINT:-http://localhost:8000/graphql/}
APP_BACKEND_ENDPOINT: ${APP_BACKEND_ENDPOINT:-http://localhost:8000/}
APP_GRAPHQL_CODEGEN_ENDPOINT: ${GRAPHQL_CODEGEN_ENDPOINT:-./backend/schema.graphql}
APP_MAPSWIPE_WEBSITE: ${APP_MAPSWIPE_WEBSITE:-https://mapswipe.org}
# TODO: Make the DSN env variable optional in env
APP_SENTRY_DSN: ${APP_SENTRY_DSN:-}
APP_SENTRY_TRACES_SAMPLE_RATE: ${APP_SENTRY_TRACES_SAMPLE_RATE:-}
APP_GA_TRACKING_ID: ${APP_GA_TRACKING_ID:-}
env_file:
- ../.env
volumes:
- ../:/code
ports:
- '3000:3000'