-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (38 loc) · 1.1 KB
/
docker-compose.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: "3.9"
services:
client:
image: refinebio-web
ports:
- ${CLIENT_PORT}:${CLIENT_PORT}
environment:
STAGE_API_HOST: ${STAGE_API_HOST}
STAGE_API_VERSION: ${STAGE_API_VERSION}
STAGE_HUBSPOT_ACCESS_TOKEN: ${STAGE_HUBSPOT_ACCESS_TOKEN}
STAGE_SENTRY_ENV: ${STAGE_SENTRY_ENV}
STAGE_SENTRY_DSN: ${STAGE_SENTRY_DSN}
STAGE_SLACK_HOOK_URL: ${STAGE_SLACK_HOOK_URL}
STAGE_GITHUB_TOKEN: ${STAGE_GITHUB_TOKEN}
STAGE_GITHUB_ENDPOINT: ${STAGE_GITHUB_ENDPOINT}
STAGE_GA4_MEASUREMENT_ID: ${STAGE_GA4_MEASUREMENT_ID}
build:
context: .
dockerfile: Dockerfile
target: local
command: >
bash -c 'cd /app && yarn dev -p ${CLIENT_PORT}'
volumes:
- ./:/app
storybook:
image: refinebio-web-storybook
ports:
- ${STORYBOOK_PORT}:${STORYBOOK_PORT}
build:
context: .
dockerfile: Dockerfile
target: local
command: >
bash -c 'cd /app &&
yarn install &&
yarn storybook --quiet -p ${STORYBOOK_PORT}'
volumes:
- ./:/app