Skip to content

Commit 470495e

Browse files
committed
move files
1 parent 02042fd commit 470495e

File tree

4 files changed

+15
-24
lines changed

4 files changed

+15
-24
lines changed

docker/docker/entrypoint.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

docker/entrypoint.sh

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

3-
if ! whoami &> /dev/null; then
4-
if [ -w /etc/passwd ]; then
5-
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
6-
fi
7-
fi
3+
cd /var/www/deming
4+
bash /etc/resetdb.sh
5+
bash /etc/initialdb.sh
6+
php artisan storage:link
7+
bash /etc/uploadiso27001db.sh
8+
bash /etc/userdemo.sh
9+
php artisan passport:install
10+
php artisan key:generate
11+
chown www-data:www-data storage/oauth-*.key
12+
chmod 600 storage/oauth-*.key
13+
php artisan serve --host 0.0.0.0 --port 8000 &
14+
service postfix start
15+
service cron start
16+
nginx -g "daemon off;"
817

9-
exec "$@"

0 commit comments

Comments
 (0)