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/node_modules
|
||||||
app/vendor
|
app/vendor
|
||||||
app/.env
|
app/.env
|
||||||
|
docker-compose.override.yml
|
||||||
|
4
app/composer.lock
generated
4
app/composer.lock
generated
@ -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"
|
||||||
}
|
}
|
||||||
|
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'
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user