You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
510 B

services:
api:
build: ./api
ports:
- "18080:18080"
volumes:
- /Users/matthuntington/Documents/git/practice-tracker-api-node:/app
working_dir: /app
command: node server.js
environment:
- DBURL=${DBURL}
- DBPORT=${DBPORT}
- DBUSER=${DBUSER}
- DBPWD=${DBPWD}
- DBNAME=${DBNAME}
depends_on:
- mysql
mysql:
build: ./mysql
ports:
- "3306:3306"
volumes:
- ~/Documents/docker_mount/databases/mysql:/var/lib/mysql