+ php src container fully refactored and lightweight
* on host system container also refactored, some env options moved from .env to docker-compose example * dnsmasq now is separate service file + php 8.3 support * xdebug launch also refactored and lightweight * tested and worked python environment with pyenv (on today without supervisor) * database container and appropriate gui applications for management database systems moved into separate service files + build src php container helper - remove unnecessary docker compose file version directive - remove minio thing from the host php services * use redis-local.conf from example and lightweight main redis conf file
This commit is contained in:
@ -28,7 +28,12 @@ services:
|
||||
service: php
|
||||
build:
|
||||
dockerfile: php82.Dockerfile
|
||||
volumes:
|
||||
php83:
|
||||
extends:
|
||||
file: docker-compose.base.yml
|
||||
service: php
|
||||
build:
|
||||
dockerfile: php83.Dockerfile
|
||||
workspace74:
|
||||
extends:
|
||||
file: docker-compose.base.yml
|
||||
@ -47,33 +52,18 @@ services:
|
||||
service: workspace
|
||||
build:
|
||||
dockerfile: workspace82.Dockerfile
|
||||
db:
|
||||
workspace83:
|
||||
extends:
|
||||
file: docker-compose.base.yml
|
||||
service: db
|
||||
pma:
|
||||
extends:
|
||||
file: docker-compose.base.yml
|
||||
service: pma
|
||||
ports:
|
||||
- "81:80"
|
||||
service: workspace
|
||||
build:
|
||||
dockerfile: workspace83.Dockerfile
|
||||
inbucket:
|
||||
extends:
|
||||
file: docker-compose.base.yml
|
||||
service: inbucket
|
||||
ports:
|
||||
- "82:9000"
|
||||
dnsmasq:
|
||||
restart: always
|
||||
build:
|
||||
context: ./dockerfiles/dnsmasq
|
||||
volumes:
|
||||
- ./config/dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf
|
||||
cap_add:
|
||||
- NET_ADMIN # @see https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||
|
||||
volumes:
|
||||
database:
|
||||
|
||||
secrets:
|
||||
user_ssh_key:
|
||||
@ -81,4 +71,5 @@ secrets:
|
||||
user_known_hosts:
|
||||
file: ~/.ssh/known_hosts
|
||||
composer_auth:
|
||||
# If in your system installed Composer V1 use ~/.composer/auth.json
|
||||
file: ~/.config/composer/auth.json
|
||||
|
Reference in New Issue
Block a user