Configuration¶
This page describes configuration for --template backend environments. For
cloud-local configuration, see Cloud-Local Configuration.
This page will describe how to configure an OQTOPUS backend environment.
Configuration files are created under config/ when you run:
The generated files are examples for the local backend environment. Review and update them as needed before starting services.
Configuration Directory¶
Environment Variables¶
config/.env contains environment variables used when launching backend
processes.
These values are applied only to the launched process environment. They are not persisted to your global shell environment.
config/.env is a configuration file and should not contain secrets.
Environment Name Placeholders¶
The backend template may use {{ env_name }} in config/.env.
When you run:
OQTOPUS CLI replaces the placeholder with the validated environment name.
For example:
SSE_CONTAINER_IMAGE="{{ env_name }}-sse_runtime:latest"
SSE_CONTAINER_NETWORK="{{ env_name }}_context_app_net"
becomes:
These values are used by Docker, so env_name must be Docker-safe:
Service Configuration¶
Each service has its own configuration directory under config/.
Detailed configuration guidance will be added as the supported options are documented.