update local environment to build the bookish-api
This commit is contained in:
+15
-1
@@ -1,6 +1,20 @@
|
||||
version: "3.1"
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
api:
|
||||
build: ./bookish-server
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- 3001:3001
|
||||
environment:
|
||||
- APIPORT=3001
|
||||
- LOGLEVEL=Debug
|
||||
- DBHOST=db
|
||||
- DBUSER=root
|
||||
- DBPASS=123pass
|
||||
- DBPORT=3306
|
||||
- BOOKSHOST=<
|
||||
db:
|
||||
image: mysql
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user