mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
able to run server without in docker
This commit is contained in:
1 parent
19cd66475c
commit
ec4e97a7d6
4 files changed
+4
-8
No files matched your search
@@ -16,8 +16,6 @@ const containerOptions = {
|
||||
},
|
||||
}
|
||||
|
||||
// const network = engine.getNetwork(config.dockerNetwork)
|
||||
|
||||
export function createContainer(name, questId) {
|
||||
const option = {
|
||||
...containerOptions,
|
||||
@@ -56,7 +54,7 @@ export async function attachContainer(container, { token }) {
|
||||
Tty: true,
|
||||
Env: [
|
||||
`TOKEN=${token}`,
|
||||
`API_ENDPOINT=http://backend:3000`,
|
||||
`API_ENDPOINT=${config.backendUrl}`,
|
||||
'ZDOTDIR=/etc/zsh',
|
||||
],
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user