Skip to content

Commit

Permalink
chore(web): env file
Browse files Browse the repository at this point in the history
  • Loading branch information
krystxf committed Dec 8, 2024
1 parent 31617b1 commit 803c62c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .env.web.docker.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Mapbox api key https://docs.mapbox.com/help/getting-started/access-tokens/
NEXT_PUBLIC_MAPBOX_TOKEN=

# Alternative to acquiring a Mapbox token, you can use `maplibre-gl` instead. Follow these steps:
# - Run `npm install maplibre-gl`
# - In the source, change all `import ... from 'react-map-gl'` to `import ... from 'react-map-gl/maplibre'`
# - Change the `mapStyle` prop of `<Map>` to `"https://demotiles.maplibre.org/style.json"` or a self-hosted URL
7 changes: 7 additions & 0 deletions apps/web/.env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Mapbox api key https://docs.mapbox.com/help/getting-started/access-tokens/
NEXT_PUBLIC_MAPBOX_TOKEN=

# Alternative to acquiring a Mapbox token, you can use `maplibre-gl` instead. Follow these steps:
# - Run `npm install maplibre-gl`
# - In the source, change all `import ... from 'react-map-gl'` to `import ... from 'react-map-gl/maplibre'`
# - Change the `mapStyle` prop of `<Map>` to `"https://demotiles.maplibre.org/style.json"` or a self-hosted URL
2 changes: 2 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ services:
restart: always
ports:
- 3000:3000
env_file:
- ".env.web.docker"
build:
context: .
dockerfile: ./Dockerfile
Expand Down

1 comment on commit 803c62c

@vercel
Copy link

@vercel vercel bot commented on 803c62c Dec 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.