Skip to content

Commit

Permalink
add minimal docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
zmariscal committed Oct 21, 2023
1 parent ed326cd commit 0c94632
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: "3.5"

services:
mysql:
platform: linux/x86_64
image: mysql:5.7
volumes:
- mysql-data:/var/lib/mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root

app:
build:
context: .
environment:
DB_HOST: mysql
volumes:
- .:/usr/src/app
depends_on:
- mysql
command: tail -f /dev/null

volumes:
mysql-data:

0 comments on commit 0c94632

Please sign in to comment.