Slide 9
Slide 9 text
rails_api:
tty: true
stdin_open: true
build:
context: .
dockerfile: Dockerfile
entrypoint: sh /app/docker/bin/wait_for_mysql.sh sh /app/docker/bin/rails_start.sh
ports:
- 3000:3000
volumes:
- .:/app
environment:
- DB_USERNAME=root
- DB_PASSWORD=root
- DB_HOST=mysql
- DOCKER_HOST=0.0.0.0
depends_on:
- mysql
- redis
- mongodb
- dynamodb
3BJMTͷىಈ