Created
October 28, 2019 23:08
-
-
Save zeroidentidad/d18005e57b7120811cc3916532b3a212 to your computer and use it in GitHub Desktop.
hub.docker.com/r/bitnami/laravel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
mariadb: | |
image: 'bitnami/mariadb:10.1' | |
environment: | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=my_user | |
- MARIADB_DATABASE=my_database | |
- MARIADB_PASSWORD=my_password | |
myapp: | |
tty: true | |
image: bitnami/laravel:6-debian-9 | |
environment: | |
- DB_HOST=mariadb | |
- DB_USERNAME=my_user | |
- DB_DATABASE=my_database | |
- DB_PASSWORD=my_password | |
depends_on: | |
- mariadb | |
ports: | |
- 3000:3000 | |
volumes: | |
- ./:/app | |
# privileged: true # Privileged mode could be required to run this container under Windows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment