Fix devcontainer trilogy connection for tests
Previously, executing Active Record tests against the trilogy adapter within a devcontainer would fail with the error message: ``` Trilogy::SyscallError::ENOENT: No such file or directory - trilogy_connect - unable to connect to /tmp/mysql.sock (ActiveRecord::StatementInvalid) ```
This commit is contained in:
parent
0a4d76d3f7
commit
d5b5ce32ae
@ -29,6 +29,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"containerEnv": {
|
||||||
|
"MYSQL_SOCK": "/run/mysqld/mysqld.sock"
|
||||||
|
},
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user