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.
 
 
 
 
 
 

24 lines
388 B

version: "2"
volumes:
mysql:
services:
app:
build:
context: ./
dockerfile: Dockerfile.development
command: bundle exec rails server -b 0.0.0.0
volumes:
- ./:/srv/app
ports:
- 3000:3000
depends_on:
- mysql
mysql:
image: mariadb:10.1
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: secret