-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
117 additions
and
543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
.idea | ||
.DS_Store | ||
.env | ||
configuration.env | ||
*.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# InfluxDB options | ||
INFLUXDB_DB=influx | ||
INFLUXDB_ADMIN_USER=admin | ||
INFLUXDB_ADMIN_PASSWORD=admin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# InfluxDB | ||
INFLUXDB_URL=http://influxdb:8086 | ||
INFLUXDB_TOKEN=secrettoken | ||
INFLUXDB_BUCKET=influx | ||
INFLUXDB_ORG=my-org | ||
|
||
# Spotify | ||
SPOTIFY_CLIENT_ID=123 | ||
SPOTIFY_CLIENT_SECRET=123 | ||
SPOTIFY_REDIRECT_URL=http://localhost:8080/callback.php | ||
|
||
# MISC | ||
USERNAME=testuser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM webdevops/php-nginx-dev:8.0 | ||
|
||
RUN mkdir /app/sessions | ||
|
||
COPY ./src/composer.json /app/composer.json | ||
COPY ./src/composer.lock /app/composer.lock | ||
|
||
RUN composer install -d /app | ||
|
||
COPY ./src/app /app/app | ||
COPY ./src/public /app/public | ||
|
||
WORKDIR /app |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
server { | ||
index index.php index.html; | ||
server_name phpfpm.local; | ||
error_log /var/log/nginx/error.log; | ||
access_log /var/log/nginx/access.log; | ||
root /app/public; | ||
location ~ \.php$ { | ||
try_files $uri =404; | ||
fastcgi_split_path_info ^(.+\.php)(/.+)$; | ||
fastcgi_pass 127.0.0.1:9000; | ||
fastcgi_index index.php; | ||
include fastcgi_params; | ||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | ||
fastcgi_param PATH_INFO $fastcgi_path_info; | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
.env | ||
vendor/ | ||
sessions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "mashb1t/spotisights", | ||
"description": "Spotify Insights", | ||
"autoload": { | ||
"psr-4": { | ||
"App\\": "app" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Manuel Schmid", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"league/statsd": "^1.5", | ||
"ext-pcntl": "*", | ||
"influxdata/influxdb-client-php": "^2.5", | ||
"jwilsson/spotify-web-api-php": "^5.0" | ||
} | ||
} |
Oops, something went wrong.