mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
Add a docker-compose.yml file
Defines the services that we'll use while developing Tracks. So far, this is just a separate database service.
This commit is contained in:
parent
cde2108129
commit
99ef4af3e5
1 changed files with 19 additions and 0 deletions
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mysql:5.7
|
||||||
|
environment:
|
||||||
|
MYSQL_ALLOW_EMPTY_PASSWORD: '1'
|
||||||
|
volumes:
|
||||||
|
- "db-data:/var/lib/mysql"
|
||||||
|
web:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- "${VOLUME:-:/app/workdir}"
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
volumes:
|
||||||
|
db-data:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue