Last active
February 26, 2023 01:39
-
-
Save arellano-gustavo/5f6861c755003c8dbcc2e11304bac3f0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: '3' | |
services: | |
mariadb: | |
image: 'mariadb' | |
restart: unless-stopped | |
environment: | |
- MARIADB_USER=chavelo | |
- MARIADB_DATABASE=no_importa | |
- MARIADB_PASSWORD=secreto | |
- MARIADB_ROOT_PASSWORD=muy-secreto | |
volumes: | |
- ./mysql:/var/lib/mysql | |
networks: | |
- qa | |
web: | |
image: nginx | |
ports: | |
- '7765:80' | |
volumes: | |
- ./src:/var/www/html | |
- ./default.conf:/etc/nginx/conf.d/default.conf | |
links: | |
- php-fpm | |
depends_on: | |
- mariadb | |
networks: | |
- qa | |
php-fpm: | |
image: gustavoarellano/php:8.0.2-fpm | |
volumes: | |
- ./src:/var/www/html | |
networks: | |
- qa | |
networks: | |
qa: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment