Skip to content

Instantly share code, notes, and snippets.

View JhumanJ's full-sized avatar

Julien Nahum JhumanJ

View GitHub Profile
spiti-main-php-1 | Still waiting for db to be ready... Or maybe the db is not reachable. 17 attempts left
spiti-main-php-1 | Still waiting for db to be ready... Or maybe the db is not reachable. 16 attempts left
spiti-main-php-1 | Still waiting for db to be ready... Or maybe the db is not reachable. 15 attempts left
---> Here I ran `chmod +x bin/console` which did fix the DB (see below) but migration failed
spiti-main-php-1 | The db is now ready and reachable
spiti-main-php-1 | [notice] Migrating up to DoctrineMigrations\Version20240317205927
spiti-main-database-1 | 2024-07-30 17:14:06.089 UTC [35] ERROR: syntax error at or near "AUTO_INCREMENT" at character 45
spiti-main-database-1 | 2024-07-30 17:14:06.089 UTC [35] STATEMENT: CREATE TABLE reset_password_request (id INT AUTO_INCREMENT NOT NULL, user_id INT NOT NULL, selector VARCHAR(20) NOT NULL, hashed_token VARCHAR(100) NOT NULL, requested_at DATETIME NOT NULL COMMENT '(DC2Type:datetime_immutable)', expires_at DATETIME
➜ donukopnform git:(issue-445/enhance-docker-setup) ✗ docker-compose up
donukopnform_api-worker_1 is up-to-date
Starting donukopnform_ingress_1 ...
Starting donukopnform_ui_1 ...
donukopnform_redis_1 is up-to-date
Starting donukopnform_ingress_1 ... done
Starting donukopnform_ui_1 ... done
Attaching to donukopnform_api-worker_1, donukopnform_redis_1, donukopnform_db_1, donukopnform_api_1, donukopnform_ui_1, donukopnform_ingress_1
ui_1 | /entrypoint.sh: .: line 8: can't open '.env': No such file or directory
ingress_1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
class LineChart {
// LineChart by https://kevinkub.de/
constructor(width, height, values) {
this.ctx = new DrawContext();
this.ctx.size = new Size(width, height);
this.values = values;
}
_calculatePath() {
@JhumanJ
JhumanJ / TFL-Tube-data.json
Last active January 18, 2021 18:03
TFL Tube data Json
// Original Data taken from https://gist.github.com/paulcuth/1111303
// and https://gist.github.com/Lissy93/cb316efbf4b0968bc744cbbe48a574ab
// Enriched with data from Google Place API
{
"lines": [
{
"id": "B",
"name": "Bakerloo",
"stations": [
"BST",