- fix: consul.json file encoding
This commit is contained in:
@@ -108,8 +108,8 @@
|
|||||||
command: agent -dev -client=0.0.0.0
|
command: agent -dev -client=0.0.0.0
|
||||||
ports:
|
ports:
|
||||||
- "8500:8500"
|
- "8500:8500"
|
||||||
# volumes:
|
volumes:
|
||||||
# - ./scripts/consul.json:/consul/config/cors.json:ro
|
- ./scripts/consul.json:/consul/config/cors.json
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db_data:
|
db_data:
|
||||||
@@ -23,7 +23,7 @@ fn create_command() -> Command {
|
|||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
fn create_command() -> Command {
|
fn create_command() -> Command {
|
||||||
let mut command = Command::new("bottles-cli");
|
let mut command = Command::new("bottles-cli");
|
||||||
command.arg("run").arg("-p").arg("TRose").arg("-b").arg("OsIRose v3").arg("--");
|
command.arg("run").arg("-p").arg("TRose").arg("-b").arg("OsIRose");
|
||||||
command
|
command
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
2
scripts/consul.json
Normal file → Executable file
2
scripts/consul.json
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"http_config": {
|
"http_config": {
|
||||||
"response_headers": {
|
"response_headers": {
|
||||||
"Access-Control-Allow-Origin": "*"
|
"Access-Control-Allow-Origin": "*"
|
||||||
|
|||||||
Reference in New Issue
Block a user