canisters:
- name: backend
settings:
environment_variables:
APP_ENV: "local"
API_URL: "http://localhost:3000"
environments:
- name: staging
network: ic
canisters:
- backend
settings:
backend:
environment_variables:
APP_ENV: "staging"
API_URL: "https://staging-api.example.com"
- name: production
network: ic
canisters:
- backend
settings:
backend:
environment_variables:
APP_ENV: "production"
API_URL: "https://api.example.com"