Add dev compose file.
This commit is contained in:
parent
02e3b6df66
commit
e9b106d5de
39
compose.dev.yaml
Normal file
39
compose.dev.yaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
name: meals-made-easy-api-dev
|
||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: mysql:latest
|
||||||
|
ports:
|
||||||
|
- '55001:3306'
|
||||||
|
- '55000:33060'
|
||||||
|
env_file: .env
|
||||||
|
environment:
|
||||||
|
MYSQL_DATABASE: meals_made_easy_api
|
||||||
|
MYSQL_USER: meals-made-easy-api-user
|
||||||
|
healthcheck:
|
||||||
|
test: mysqladmin ping -u $$MYSQL_USER --password=$$MYSQL_PASSWORD
|
||||||
|
interval: 5s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 10
|
||||||
|
volumes:
|
||||||
|
- mysql-data:/var/lib/mysql
|
||||||
|
minio:
|
||||||
|
image: minio/minio:latest
|
||||||
|
ports:
|
||||||
|
- 9000:9000
|
||||||
|
- 9001:9001
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
MINIO_ROOT_USER: minio-root
|
||||||
|
volumes:
|
||||||
|
- minio-data:/data
|
||||||
|
command:
|
||||||
|
- server
|
||||||
|
- /data
|
||||||
|
- --console-address
|
||||||
|
- :9001
|
||||||
|
profiles:
|
||||||
|
- deps
|
||||||
|
volumes:
|
||||||
|
mysql-data:
|
||||||
|
minio-data:
|
||||||
Loading…
Reference in New Issue
Block a user