update local environment to build the bookish-api

This commit is contained in:
David Lick
2020-05-26 21:31:22 -04:00
parent 4a62fb7c8e
commit ede08baf22
3 changed files with 27 additions and 26 deletions
+15 -1
View File
@@ -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: