Add an example override for the CLI container.

This commit is contained in:
Dave Smith-Hayes 2024-11-21 22:24:33 -05:00
parent 38cdd1bfb2
commit 10e531b9c1
4 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
app/node_modules app/node_modules
app/vendor app/vendor
app/.env app/.env
docker-compose.override.yml

4
app/composer.lock generated
View File

@ -6248,12 +6248,12 @@
], ],
"aliases": [], "aliases": [],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": [], "stability-flags": {},
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"ext-pdo": "*" "ext-pdo": "*"
}, },
"platform-dev": [], "platform-dev": {},
"plugin-api-version": "2.6.0" "plugin-api-version": "2.6.0"
} }

View File

@ -0,0 +1,4 @@
version: '3.8'
services:
cli:
user: "1000:1000"

View File

@ -15,6 +15,7 @@ services:
dockerfile: 'dev/php/Dockerfile' dockerfile: 'dev/php/Dockerfile'
volumes: volumes:
- './app:/var/www/slovocast' - './app:/var/www/slovocast'
user: "${UID}:${GID}"
entrypoint: [ "bash", "-c" ] entrypoint: [ "bash", "-c" ]
profiles: profiles:
- noboot - noboot