Skip to content

Instantly share code, notes, and snippets.

@pipethedev
Last active April 19, 2025 16:43
Show Gist options
  • Save pipethedev/b9c3dc66f49ab091b3ce8260e2da6fd4 to your computer and use it in GitHub Desktop.
Save pipethedev/b9c3dc66f49ab091b3ce8260e2da6fd4 to your computer and use it in GitHub Desktop.
Pre setup script to download maxmind db configuration file for hosting malak
apk add --no-cache curl && mkdir -p /app/storage/maxmind && curl -L -o /app/storage/maxmind/city.mmdb https://ileri.b-cdn.net/GeoLite2-City.mmdb && curl -L -o /app/storage/maxmind/country.mmdb https://ileri.b-cdn.net/GeoLite2-Country.mmdb
INSERT INTO "public"."plans"("id","reference","plan_name","default_price_id","amount","metadata","created_at","updated_at","deleted_at","is_default")
VALUES
(E'4590c0bb-7dc1-4ec0-abef-61eb305059d1',E'prod_RxAyUR2',E'Core',E'price_1R3GcuIuzgc0GU',3000,E'{"deck": {"analytics": {"can_view_historical_sessions": false}}, "updates": {"max_recipients": 300}}',E'2025-03-16 21:27:38.685084+00',E'2024-09-04 13:46:35.612449+00',NULL,TRUE);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment