mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-22 11:36:38 +00:00
inject GOOGLE_MAPS_API_KEY to docker from env var
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
},
|
},
|
||||||
"MapConfig": {
|
"MapConfig": {
|
||||||
"Service": "GoogleMaps",
|
"Service": "GoogleMaps",
|
||||||
"ApiKey": "YOUR_API_KEY_HERE"
|
"ApiKey": ""
|
||||||
},
|
},
|
||||||
"StorageConfig": {
|
"StorageConfig": {
|
||||||
"TilesDirectory": "./tiles",
|
"TilesDirectory": "./tiles",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
"MapConfig": {
|
"MapConfig": {
|
||||||
"Service": "GoogleMaps",
|
"Service": "GoogleMaps",
|
||||||
"ApiKey": "YOUR_API_KEY_HERE"
|
"ApiKey": ""
|
||||||
},
|
},
|
||||||
"StorageConfig": {
|
"StorageConfig": {
|
||||||
"TilesDirectory": "./tiles",
|
"TilesDirectory": "./tiles",
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ services:
|
|||||||
- ASPNETCORE_ENVIRONMENT=Development
|
- ASPNETCORE_ENVIRONMENT=Development
|
||||||
- ASPNETCORE_URLS=http://+:8080
|
- ASPNETCORE_URLS=http://+:8080
|
||||||
- ConnectionStrings__DefaultConnection=Host=postgres;Port=5432;Database=satelliteprovider;Username=postgres;Password=postgres
|
- ConnectionStrings__DefaultConnection=Host=postgres;Port=5432;Database=satelliteprovider;Username=postgres;Password=postgres
|
||||||
|
- MapConfig__ApiKey=${GOOGLE_MAPS_API_KEY}
|
||||||
volumes:
|
volumes:
|
||||||
- ./tiles:/app/tiles
|
- ./tiles:/app/tiles
|
||||||
- ./ready:/app/ready
|
- ./ready:/app/ready
|
||||||
|
|||||||
Reference in New Issue
Block a user