New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variable substitution for TOML config in Docker Compose - how to make it happen? #4212
Comments
Since I forgot to rename file from P. S. With NGINX, env substitution works. What's wrong with FRP? |
UPD: Found out that environment variables substitution should be implemented on developer's side. The tool Which means I need to go directly to snowdreamtech/frp and post an issue there. Sorry for posting irrelevant problem here. This issue can now be closed. |
Bug Description
I try to substitute variables set in
frps.toml.template
file for dockerized frps instance and make Docker to producefrps.toml
file in mounted dir:docker-compose.yml:
.env:
config-frps/frps.toml.template
frps
(or Docker itself) does not substitute variables and does not producefrps.toml
file inside the container:How to force Docker to create
frps.toml
file?frpc Version
0.56.1
frps Version
0.56.1
System Architecture
linux/amd64
Configurations
Logs
Steps to reproduce
frps
;.env
file;frps.toml
;docker compose up -d frps
the instance;Affected area
The text was updated successfully, but these errors were encountered: