feat(docker): add docker-compose.yml, Dockerfile

Signed-off-by: miguel456 <me@nogueira.codes>
This commit is contained in:
2023-08-05 02:56:54 +01:00
parent 9f6cebc1a2
commit 9dc82708dd
3 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
server {
listen 80;
server_name athenahr.test;
location / {
index index.php;
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass athenahr_app:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
}
}