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
| region | transfer cost price per GB | |
|---|---|---|
| US West (Los Angeles) | $0.02 | |
| US East (N. Virginia) | $0.01 | |
| Europe (London) | $0.02 |
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
| Storage Pricing | price per GB-month | |
|---|---|---|
| EBS Snapshots Standard | $0.05/GB-month | |
| S3 Standard | $0.021-$0.023/GB-month |
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
| main containers | description | |
|---|---|---|
| NGINX | It is the webserver. | |
| PHP | Runs PHP-FPM process manager. | |
| Mysql | It is the database. | |
| Redis | Store cache and sessions. | |
| Cron jobs | Runs laravel cron jobs. | |
| Queues | Runs laravel queues. | |
| Mailhog | Local email testing. It is optional. | |
| phpMyAdmin | Database management. It is optional. |
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
| utility containers | description | |
|---|---|---|
| Migrate-Seed | Runs migrations and seeders. Should be run just after starting the main containers. | |
| Composer | Runs composer commands. | |
| Artisan | Runs artisan commands. | |
| Npm | Runs npm commands. |
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
| nginx: | |
| build: | |
| context: ./docker | |
| dockerfile: nginx.dockerfile | |
| args: | |
| - UID=${UID:-1000} | |
| - GID=${GID:-1000} | |
| - USER=${USER:-laravel} | |
| restart: unless-stopped | |
| container_name: nginx |
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
| FROM nginx:stable-alpine | |
| # environment arguments | |
| ARG UID | |
| ARG GID | |
| ARG USER | |
| ENV UID=${UID} | |
| ENV GID=${GID} | |
| ENV USER=${USER} |
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
| server { | |
| listen 8000; | |
| index index.php index.html; | |
| server_name _; | |
| root /var/www/html/public; | |
| error_log stderr warn; | |
| access_log /dev/stdout main; | |
| # error_log /var/log/nginx/error.log; |
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
| php: | |
| build: | |
| context: ./docker | |
| dockerfile: php.dockerfile | |
| args: | |
| - UID=${UID:-1000} | |
| - GID=${GID:-1000} | |
| - USER=${USER:-laravel} | |
| container_name: php | |
| ports: |
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
| FROM php:8.1-fpm-alpine | |
| # environment arguments | |
| ARG UID | |
| ARG GID | |
| ARG USER | |
| ENV UID=${UID} | |
| ENV GID=${GID} | |
| ENV USER=${USER} |
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
| mysql: | |
| image: mariadb:10.6 | |
| container_name: mysql | |
| restart: unless-stopped | |
| tty: true | |
| ports: | |
| - 3307:3306 | |
| environment: | |
| MYSQL_DATABASE: ${DB_DATABASE} | |
| MYSQL_USER: ${DB_USERNAME} |
OlderNewer