Created
September 12, 2024 10:55
-
-
Save SavvasStephanides/37e90db0c0f2985f60472debe4ddd88e to your computer and use it in GitHub Desktop.
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
services: | |
web: | |
image: bitnami/laravel | |
volumes: | |
- ./app:/app | |
working_dir: /app | |
environment: | |
- LARAVEL_DATABASE_HOST=db | |
- LARAVEL_DATABASE_USER=root | |
- LARAVEL_DATABASE_NAME=laravel | |
- LARAVEL_DATABASE_PASSWORD=pass1 | |
- LARAVEL_DATABASE_PORT_NUMBER=3306 | |
restart: always | |
ports: | |
- 8000:8000 | |
db: | |
image: mysql:8.0 | |
environment: | |
- MYSQL_ROOT_PASSWORD=pass1 | |
- MYSQL_DATABASE=laravel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment