lll
This commit is contained in:
parent
4231a95fdb
commit
b6c9da9e6b
4 changed files with 12 additions and 8 deletions
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[submodule "frontend"]
|
||||
path = frontend
|
||||
url = git@git.impstyle.com:test/demo-frontend.git
|
||||
[submodule "backend"]
|
||||
path = backend
|
||||
url = git@git.impstyle.com:test/demo-backend.git
|
1
backend
Submodule
1
backend
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 93c881c1fbee2d5029ed8f30ba8566b5a2f03dec
|
|
@ -1,5 +1,5 @@
|
|||
services:
|
||||
db:
|
||||
demo-db:
|
||||
image: postgres:13
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
|
@ -12,9 +12,7 @@ services:
|
|||
|
||||
backend:
|
||||
build:
|
||||
context: ${PWD}/../backend/
|
||||
# dockerfile: Dockerfile
|
||||
# entrypoint: ["${PWD}/../backend/entrypoint.sh"]
|
||||
context: ./backend/
|
||||
command: sh -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
@ -26,13 +24,11 @@ services:
|
|||
- DB_PORT=5432
|
||||
- DEBUG=1
|
||||
depends_on:
|
||||
- db
|
||||
- demo-db
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ${PWD}/../frontend
|
||||
# dockerfile: Dockerfile
|
||||
# entrypoint: ["${PWD}/../frontend/entrypoint.sh"]
|
||||
context: ./frontend
|
||||
command: sh -c "npm run dev -- --host 0.0.0.0"
|
||||
ports:
|
||||
- "5173:5173"
|
||||
|
|
1
frontend
Submodule
1
frontend
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit ac580147917e3da681ce2bf4975b6c97632bf72e
|
Loading…
Reference in a new issue