Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nbejansen committed Mar 27, 2024
0 parents commit 1e3363d
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/.fleet
/.idea
/.vscode
/node_modules
auth.json
.env
.env.backup
.env.production
19 changes: 19 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "sitepilot/stack-laravel",
"description": "Laravel development stack.",
"type": "project",
"license": "MIT",
"authors": [
{
"name": "Sitepilot",
"email": "support@sitepilot.io"
}
],
"require": {},
"scripts": {
"post-create-project-cmd": [
"docker compose up -d",
"docker compose exec app composer create-project laravel/laravel"
]
}
}
24 changes: 24 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
services:
app:
image: ghcr.io/sitepilot/php-nginx:${STACK_PHP_VERSION:-8.3}
labels:
- "traefik.enable=true"
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:?}.tls=true"
- "traefik.http.routers.${COMPOSE_PROJECT_NAME:?}.rule=HostRegexp(`${COMPOSE_PROJECT_NAME:?}.{any:.+}`)"
volumes:
- './:/app/files'
networks:
- default
- stack

redis:
image: redis:7
volumes:
- redis:/data

volumes:
redis:

networks:
stack:
external: true

0 comments on commit 1e3363d

Please sign in to comment.