start services php 7,4
This commit is contained in:
parent
e005ae74a3
commit
e519143590
@ -6,7 +6,7 @@ then ./auto_config.sh
|
||||
fi
|
||||
|
||||
#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
|
||||
/usr/sbin/nginx -g 'daemon off; master_process on;' &
|
||||
|
@ -17,18 +17,18 @@ services:
|
||||
ports:
|
||||
- 8003:80
|
||||
restart: always
|
||||
#########################
|
||||
db:
|
||||
image: mysql:8
|
||||
hostname: db
|
||||
environment:
|
||||
MYSQL_DATABASE: nextcloud
|
||||
MYSQL_USER: nextcloud
|
||||
MYSQL_PASSWORD: nextcloud
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: true
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
database:
|
||||
###########################
|
||||
# db:
|
||||
# image: mysql:8
|
||||
# hostname: db
|
||||
# environment:
|
||||
# MYSQL_DATABASE: nextcloud
|
||||
# MYSQL_USER: nextcloud
|
||||
# MYSQL_PASSWORD: nextcloud
|
||||
# MYSQL_ALLOW_EMPTY_PASSWORD: true
|
||||
# volumes:
|
||||
# - database:/var/lib/mysql
|
||||
# restart: always
|
||||
#
|
||||
#volumes:
|
||||
# database:
|
||||
|
Loading…
x
Reference in New Issue
Block a user