Enhance database management scripts and update configurations
- Added importdb and importinv scripts for database import functionality. - Improved dumpdb script for better error handling and output management. - Updated .gitignore to include CSV files. - Changed phpfpm service to use bash instead of ash. - Modified docker-compose.yml to expose Redis and adjust Nginx port. - Updated OpenSSL configuration for improved security settings.
This commit is contained in:
@@ -8,7 +8,7 @@ services:
|
||||
- ./ssl:/etc/nginx/ssl:ro
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
- 8443:443
|
||||
depends_on:
|
||||
- phpfpm
|
||||
- db
|
||||
@@ -20,13 +20,21 @@ services:
|
||||
dockerfile: "Dockerfile"
|
||||
volumes:
|
||||
- ./src:/var/www/html:rw
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
db:
|
||||
image: mariadb
|
||||
ports:
|
||||
- 3306:3306
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
env_file: .env.db
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
|
||||
composer:
|
||||
image: composer
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user