Change structure to separate frontend and sql
update path of sql-data
This commit is contained in:
parent
93e11c22bf
commit
0507d27ebb
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
sql/db-data/**/*
|
@ -7,17 +7,17 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5455:3306"
|
- "5455:3306"
|
||||||
volumes:
|
volumes:
|
||||||
- "db-data:/var/lib/mysql"
|
- "./sql/db-data:/var/lib/mysql"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: "Test"
|
MYSQL_ROOT_PASSWORD: "Test"
|
||||||
|
|
||||||
webserver:
|
webserver:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: ./frontend
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
- "./:/var/www/html"
|
- "./frontend:/var/www/html"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 138 KiB |
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 135 KiB |
Before Width: | Height: | Size: 125 KiB After Width: | Height: | Size: 125 KiB |
Loading…
Reference in New Issue
Block a user