start services php 7,4

This commit is contained in:
Shihaam Abdul Rahman 2022-11-05 19:06:58 +05:00
parent e005ae74a3
commit e519143590
Signed by: shihaam
GPG Key ID: 3B007D22E5584980
2 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@ then ./auto_config.sh
fi fi
#Start Php-fpm #Start Php-fpm
/usr/sbin/php-fpm8.1 --nodaemonize --fpm-config /etc/php/8.1/fpm/php-fpm.conf & /usr/sbin/php-fpm7.4 --nodaemonize --fpm-config /etc/php/7.4/fpm/php-fpm.conf &
#Start Nginx #Start Nginx
/usr/sbin/nginx -g 'daemon off; master_process on;' & /usr/sbin/nginx -g 'daemon off; master_process on;' &

View File

@ -17,18 +17,18 @@ services:
ports: ports:
- 8003:80 - 8003:80
restart: always restart: always
######################### ###########################
db: # db:
image: mysql:8 # image: mysql:8
hostname: db # hostname: db
environment: # environment:
MYSQL_DATABASE: nextcloud # MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud # MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud # MYSQL_PASSWORD: nextcloud
MYSQL_ALLOW_EMPTY_PASSWORD: true # MYSQL_ALLOW_EMPTY_PASSWORD: true
volumes: # volumes:
- database:/var/lib/mysql # - database:/var/lib/mysql
restart: always # restart: always
#
volumes: #volumes:
database: # database: