Add an example override for the CLI container.
This commit is contained in:
parent
38cdd1bfb2
commit
10e531b9c1
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
||||
app/node_modules
|
||||
app/vendor
|
||||
app/.env
|
||||
docker-compose.override.yml
|
||||
|
4
app/composer.lock
generated
4
app/composer.lock
generated
@ -6248,12 +6248,12 @@
|
||||
],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"stability-flags": {},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"ext-pdo": "*"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"platform-dev": {},
|
||||
"plugin-api-version": "2.6.0"
|
||||
}
|
||||
|
4
docker-compose.override.yml.sample
Normal file
4
docker-compose.override.yml.sample
Normal file
@ -0,0 +1,4 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
cli:
|
||||
user: "1000:1000"
|
@ -15,6 +15,7 @@ services:
|
||||
dockerfile: 'dev/php/Dockerfile'
|
||||
volumes:
|
||||
- './app:/var/www/slovocast'
|
||||
user: "${UID}:${GID}"
|
||||
entrypoint: [ "bash", "-c" ]
|
||||
profiles:
|
||||
- noboot
|
||||
|
Loading…
Reference in New Issue
Block a user