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:
|
||||
- "5455:3306"
|
||||
volumes:
|
||||
- "db-data:/var/lib/mysql"
|
||||
- "./sql/db-data:/var/lib/mysql"
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: "Test"
|
||||
|
||||
webserver:
|
||||
build:
|
||||
context: .
|
||||
context: ./frontend
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- "./:/var/www/html"
|
||||
- "./frontend:/var/www/html"
|
||||
depends_on:
|
||||
- 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