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
+14
-2
@@ -1,10 +1,20 @@
|
||||
version: '3'
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: app/Dockerfile.dev
|
||||
ports:
|
||||
- 5173:5173
|
||||
networks:
|
||||
- internal
|
||||
volumes:
|
||||
- ./app/src:/app/src
|
||||
backend:
|
||||
restart: on-failure
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.dev
|
||||
dockerfile: server/Dockerfile.dev
|
||||
networks:
|
||||
- internal
|
||||
- players
|
||||
@@ -12,7 +22,9 @@ services:
|
||||
- '3000:3000'
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./server:/app/server
|
||||
- ./server/src:/app/src
|
||||
- ./server/swagger.yaml:/app/swagger.yaml
|
||||
- ./quests:/app/quests
|
||||
environment:
|
||||
- MONGO_URL=mongodb://db:27017/odyssey-test
|
||||
- DOCKER_NETWORK=linux-odyssey-players
|
||||
|
||||
Reference in new issue
Block a user