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:
|
services:
|
||||||
db:
|
demo-db:
|
||||||
image: postgres:13
|
image: postgres:13
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
@ -12,9 +12,7 @@ services:
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: ${PWD}/../backend/
|
context: ./backend/
|
||||||
# dockerfile: Dockerfile
|
|
||||||
# entrypoint: ["${PWD}/../backend/entrypoint.sh"]
|
|
||||||
command: sh -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
command: sh -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
@ -26,13 +24,11 @@ services:
|
||||||
- DB_PORT=5432
|
- DB_PORT=5432
|
||||||
- DEBUG=1
|
- DEBUG=1
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- demo-db
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ${PWD}/../frontend
|
context: ./frontend
|
||||||
# dockerfile: Dockerfile
|
|
||||||
# entrypoint: ["${PWD}/../frontend/entrypoint.sh"]
|
|
||||||
command: sh -c "npm run dev -- --host 0.0.0.0"
|
command: sh -c "npm run dev -- --host 0.0.0.0"
|
||||||
ports:
|
ports:
|
||||||
- "5173:5173"
|
- "5173:5173"
|
||||||
|
|
1
frontend
Submodule
1
frontend
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit ac580147917e3da681ce2bf4975b6c97632bf72e
|
Loading…
Reference in a new issue