mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
refactor: move quests out of server
+ move quests from server/quests to ./quests + add frontend image in docker compose development
This commit is contained in:
1 parent
e54ae32960
commit
9aa9367f9e
17 files changed
+32
-18
No files matched your search
@@ -17,7 +17,7 @@ const containerOptions = {
|
||||
Binds: config.isProduction
|
||||
? []
|
||||
: [
|
||||
`${projectPath}/server/quests/helloworld/home:/home/rudeus`,
|
||||
`${projectPath}/quests/helloworld/home:/home/rudeus`,
|
||||
`${projectPath}/packages/container:/usr/local/lib/container`,
|
||||
],
|
||||
},
|
||||
@@ -60,7 +60,7 @@ export async function attachContainer(container, { token }) {
|
||||
AttachStderr: true,
|
||||
Cmd: ['/bin/zsh'],
|
||||
Tty: true,
|
||||
Env: [`TOKEN=${token}`, `API_ENDPOINT=http://app:3000`],
|
||||
Env: [`TOKEN=${token}`, `API_ENDPOINT=http://backend:3000`],
|
||||
})
|
||||
|
||||
const execOutput = await exec.start({
|
||||
|
||||
Reference in new issue
Block a user