Compare commits
1 commit
6ce4a1df4c
...
53dd257aa0
Author | SHA1 | Date | |
---|---|---|---|
53dd257aa0 |
1 changed files with 2 additions and 17 deletions
|
@ -6,17 +6,11 @@ services:
|
||||||
command: bash -c 'python manage.py migrate && python manage.py runserver 0.0.0.0:8000'
|
command: bash -c 'python manage.py migrate && python manage.py runserver 0.0.0.0:8000'
|
||||||
environment:
|
environment:
|
||||||
- HTTP_HOST=core
|
- HTTP_HOST=core
|
||||||
- DB_HOST=db
|
#- DATABASE_URL
|
||||||
- DB_PORT=3306
|
|
||||||
- DB_NAME=system3
|
|
||||||
- DB_USER=system3
|
|
||||||
- DB_PASSWORD=system3
|
|
||||||
volumes:
|
volumes:
|
||||||
- ../../core:/code
|
- ../../core:/code
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
|
@ -29,8 +23,6 @@ services:
|
||||||
- ./vue.config.js:/web/vue.config.js
|
- ./vue.config.js:/web/vue.config.js
|
||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
depends_on:
|
|
||||||
- core
|
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
|
@ -39,10 +31,3 @@ services:
|
||||||
MARIADB_DATABASE: system3
|
MARIADB_DATABASE: system3
|
||||||
MARIADB_USER: system3
|
MARIADB_USER: system3
|
||||||
MARIADB_PASSWORD: system3
|
MARIADB_PASSWORD: system3
|
||||||
volumes:
|
|
||||||
- mariadb_data:/var/lib/mysql
|
|
||||||
ports:
|
|
||||||
- "3306:3306"
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
mariadb_data:
|
|
Loading…
Reference in a new issue