mirror of
https://github.com/pterodactyl/development.git
synced 2025-12-10 10:44:48 -06:00
Fixes dev environment setup script
This commit is contained in:
parent
a16908fd7e
commit
65b3474604
@ -1,7 +1,7 @@
|
||||
FROM debian:11-slim
|
||||
|
||||
LABEL maintainer="dane@daneeveritt.com" \
|
||||
description="Docker image allowing Pterodactyl Panel to run using Vagrant." \
|
||||
description="Local development environment for Pterodactyl Panel." \
|
||||
org.opencontainers.image.source=https://github.com/pterodactyl/development
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive \
|
||||
@ -49,7 +49,7 @@ RUN apt -y update \
|
||||
|
||||
COPY entrypoint /usr/local/bin/entrypoint
|
||||
COPY setup-pterodactyl /usr/local/bin/setup-pterodactyl
|
||||
COPY configs/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY configs/supervisord.conf /etc/supervisord.conf
|
||||
COPY configs/pterodactyl.conf /etc/nginx/sites-available/pterodactyl.conf
|
||||
|
||||
RUN useradd -m pterodactyl \
|
||||
|
||||
@ -28,5 +28,5 @@ if [ $# -gt 0 ]; then
|
||||
sudo su -c "/bin/bash"
|
||||
else
|
||||
sudo service cron start
|
||||
sudo /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
|
||||
sudo /usr/bin/supervisord -c /etc/supervisord.conf -n
|
||||
fi
|
||||
|
||||
@ -14,7 +14,6 @@ yarn install --no-progress
|
||||
|
||||
sudo chmod -R 775 storage/* bootstrap/cache
|
||||
|
||||
sudo supervisorctl reread
|
||||
sudo supervisorctl update
|
||||
sudo supervisorctl start pteroq:*
|
||||
sudo supervisorctl restart nginx
|
||||
sudo service cron restart
|
||||
# Forces supervisord to restart all of the processes with updated configurations.
|
||||
sudo killall php-fpm8.0 php nginx
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user