Skip to content

Commit

Permalink
Make package easier to develop with Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Marick van Tuil committed Nov 30, 2024
1 parent 5f58dd4 commit 49fceca
Show file tree
Hide file tree
Showing 7 changed files with 9,330 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
DB_DRIVER=mysql
DB_HOST=mysql
DB_PORT=3306

CI_CLOUD_TASKS_PROJECT_ID=
CI_CLOUD_TASKS_QUEUE=
CI_CLOUD_TASKS_LOCATION=
CI_CLOUD_TASKS_SERVICE_ACCOUNT_EMAIL=
CI_SERVICE_ACCOUNT_JSON_KEY=
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
- name: Execute tests
env:
DB_DRIVER: ${{ matrix.db }}
DB_HOST: 127.0.0.1
CI_CLOUD_TASKS_PROJECT_ID: ${{ secrets.CI_CLOUD_TASKS_PROJECT_ID }}
CI_CLOUD_TASKS_QUEUE: ${{ secrets.CI_CLOUD_TASKS_QUEUE }}
CI_CLOUD_TASKS_LOCATION: ${{ secrets.CI_CLOUD_TASKS_LOCATION }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/vendor/
composer.lock
.idea/
.phpunit.result.cache
.phpunit.cache
.env
6 changes: 6 additions & 0 deletions app.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM serversideup/php:8.3-fpm

USER ROOT
RUN install-php-extensions bcmath

USER www-data
Loading

0 comments on commit 49fceca

Please sign in to comment.