-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathfrontend.docker-compose.yml
30 lines (30 loc) · 1.13 KB
/
frontend.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
version: "3.8"
services:
frontend:
labels:
type: frontend
container_name: frontend
image: node:18-bullseye
volumes:
- .:/app
command: bash -c "cd /app && yarn install && yarn dev --host"
ports:
- 5173:5173
healthcheck:
test: curl -f http://localhost:5173 || exit 1
interval: 6s
timeout: 1s
retries: 50
environment:
NEXT_PUBLIC_HASURA_AUTH_BASE_URL: http://localhost:4000
NEXT_PUBLIC_API_BASE_URL: http://localhost:8000/api
NEXT_PUBLIC_HASURA_BASE_URL: http://localhost:8080
NEXT_PUBLIC_HASURA_BASE_WS_URL: ws://localhost:8080
NEXT_PUBLIC_LOGIN_URL: http://localhost:4000/signin/provider/github
NEXT_PUBLIC_ENV: local
NEXT_PUBLIC_GTM_ID:
NEXT_PUBLIC_LANGUAGES_FILTER: "CSS,Dockerfile,Handlebars,HCL,HTML,Jupyter Notebook,Makefile,Nix,Procfile,SCSS,Shell"
NEXT_PUBLIC_ENABLE_DATADOG_LOG: false
NEXT_PUBLIC_ENABLE_DATADOG_RUM: false
NEXT_PUBLIC_CLOUDFLARE_RESIZE_W_100_PREFIX: https://onlydust.xyz/cdn-cgi/image/width=100/
NEXT_PUBLIC_GENERIC_METADATA_URL: https://develop-app-metadata.onlydust.xyz/api/generic