Files
containers/bitnami/rails/docker-compose.yml

23 lines
473 B
YAML

version: '2'
services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
myapp:
tty: true # Enables debugging capabilities when attached to this container.
image: 'bitnami/rails:latest'
labels:
kompose.service.type: nodeport
environment:
- MARIADB_HOST=mariadb
- MARIADB_DATABASE=my_app_development
depends_on:
- mariadb
ports:
- 3000:3000
volumes:
- .:/app