inject GOOGLE_MAPS_API_KEY to docker from env var

This commit is contained in:
Anton Martynenko
2025-10-28 14:28:59 +01:00
parent d361fe70ab
commit 7b24c1d720
3 changed files with 3 additions and 2 deletions
@@ -10,7 +10,7 @@
},
"MapConfig": {
"Service": "GoogleMaps",
"ApiKey": "YOUR_API_KEY_HERE"
"ApiKey": ""
},
"StorageConfig": {
"TilesDirectory": "./tiles",
+1 -1
View File
@@ -11,7 +11,7 @@
},
"MapConfig": {
"Service": "GoogleMaps",
"ApiKey": "YOUR_API_KEY_HERE"
"ApiKey": ""
},
"StorageConfig": {
"TilesDirectory": "./tiles",
+1
View File
@@ -28,6 +28,7 @@ services:
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:8080
- ConnectionStrings__DefaultConnection=Host=postgres;Port=5432;Database=satelliteprovider;Username=postgres;Password=postgres
- MapConfig__ApiKey=${GOOGLE_MAPS_API_KEY}
volumes:
- ./tiles:/app/tiles
- ./ready:/app/ready