21 hours ago
I have multiple systems that all the same services configured, and the only difference between the environments is the shared variables for the Environment. So when I have multiple systems, and I need to add a new service to all environments, I am forced to use the Sync feature to replicate the services to the other existing environments (as this is the only way to allow the new service name to exist in each Environment with the same service name)
But this overwrites the Shared Environment variables of all the Syncing environments.
It would be nice to have the ability to just say "Don't sync to Shared Variables"
NOTE for reference i have all my services in every Environment set to use variable references e.g.
{
"APP_CONFIG_CONNECTION_STRING": "${{shared.APP_CONFIG_CONNECTION_STRING}}",
"APP_CONFIG_LABEL": "${{shared.APP_CONFIG_LABEL}}",
"CacheSettings:RedisConnectionString": "${{Redis.REDISHOST}}:${{Redis.REDISPORT}},password=${{Redis.REDISPASSWORD}},abortConnect=false",
"ConnectionStrings:CodewolfDbPostgres": "Host=${{Postgres.PGHOST}};Port=${{Postgres.PGPORT}};Database=${{shared.DATABASE_NAME}};Username=codewolf;Password=${{shared.CODEWOLF_PASSWORD}};Search Path=main,intranet,pricing,public,scheduler;Include Error Detail=true",
"ConnectionStrings:MessageBrokerServerAddress": "${{RabbitMQ.RABBITMQ_PRIVATE_URL}}",
"Cors:AllowedOrigins:0": "https://${{Flow.RAILWAY_PUBLIC_DOMAIN}}",
"Cors:AllowedOrigins:1": "https://${{Flow.RAILWAY_PRIVATE_DOMAIN}}"
}
Hence to create a new system, with all the required services, i just create a new environment, and the Shared variables are what differentiates the entire Environment System
0 Threads mention this feature
0 Replies