diff --git a/data/services.json b/data/services.json index bf95c8f..156ec0e 100644 --- a/data/services.json +++ b/data/services.json @@ -3,13 +3,13 @@ "name": "Service", "url": "http://service.sundayenglish.com", "description": "Sunday English Service", - "command": ["cd", "/projects/service-se", "&&", "ls"] + "command": ["cd", "/projects/service-se", "&&", "docker", "compose", "down", "&&", "docker", "compose", "up", "-d"] }, { "name": "Exercise", "url": "http://exercise.sundayenglish.com", "description": "Sunday English Exercise", - "command": ["cd", "/projects/exercise-se", "&&", "ls"] + "command": ["cd", "/projects/exercise-se", "&&", "docker", "compose", "down", "&&", "docker", "compose", "up", "-d"] }, { "name": "Julius", diff --git a/output.log b/output.log index 256e8df..c0528dc 100644 --- a/output.log +++ b/output.log @@ -1,2 +1,55 @@ nohup: ignoring input -nohup: failed to run command 'python': No such file or directory + * Serving Flask app 'app' + * Debug mode: on +WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:5000 + * Running on http://45.119.213.162:5000 +Press CTRL+C to quit + * Restarting with stat + * Debugger is active! + * Debugger PIN: 104-926-898 +14.231.189.200 - - [19/Feb/2025 14:42:45] "GET / HTTP/1.1" 302 - +14.231.189.200 - - [19/Feb/2025 14:42:45] "GET /login HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:42:46] "GET /favicon.ico HTTP/1.1" 404 - +14.231.189.200 - - [19/Feb/2025 14:42:54] "POST /login HTTP/1.1" 302 - +14.231.189.200 - - [19/Feb/2025 14:42:54] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:42:54] "GET /static/style.css HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:42:54] "GET /static/script.js HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:43:18] "GET /run-command?command[]=cd&command[]=/projects/julius&command[]=%26%26&command[]=docker&command[]=compose&command[]=down&command[]=%26%26&command[]=docker&command[]=compose&command[]=up&command[]=-d HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:43:52] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:43:52] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:43:52] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:43:56] "GET /run-command?command[]=cd&command[]=/projects/julius&command[]=%26%26&command[]=docker&command[]=compose&command[]=down&command[]=%26%26&command[]=docker&command[]=compose&command[]=up&command[]=-d HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:34] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:34] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:34] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:35] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:35] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:35] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:35] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:35] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:35] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET /logout HTTP/1.1" 302 - +14.231.189.200 - - [19/Feb/2025 14:45:36] "GET /login HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:38] "GET / HTTP/1.1" 302 - +14.231.189.200 - - [19/Feb/2025 14:45:38] "GET /login HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:40] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:40] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:40] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:41] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:41] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:41] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:41] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:41] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:41] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:42] "GET / HTTP/1.1" 200 - +14.231.189.200 - - [19/Feb/2025 14:45:42] "GET /static/style.css HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:42] "GET /static/script.js HTTP/1.1" 304 - +14.231.189.200 - - [19/Feb/2025 14:45:48] "GET /run-command?command[]=cd&command[]=/projects/julius&command[]=%26%26&command[]=docker&command[]=compose&command[]=down&command[]=%26%26&command[]=docker&command[]=compose&command[]=up&command[]=-d HTTP/1.1" 200 - diff --git a/servermanagement.pid b/servermanagement.pid new file mode 100644 index 0000000..2ed16ea --- /dev/null +++ b/servermanagement.pid @@ -0,0 +1 @@ +1349970 diff --git a/templates/index.html b/templates/index.html index a3a5281..6f13c66 100644 --- a/templates/index.html +++ b/templates/index.html @@ -52,7 +52,7 @@