├── Dockerfile ├── README.md └── fly.toml /Dockerfile: -------------------------------------------------------------------------------- 1 | ARG MEILI_MASTER_KEY 2 | 3 | FROM getmeili/meilisearch:latest 4 | 5 | EXPOSE 7700 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # meilisearch 2 | Meilisearch Instance 3 | 4 | A docker image to easily deploy a ready-to-use meilisearch instance on various platforms. 5 | 6 | ## Deploy Meilisearch to Railway 7 | 8 | Click the button below to quickly deploy a meilisearch instance to Railway. 9 | 10 | [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/TXxa09?referralCode=YltNo3) 11 | 12 | ## Deploy to Fly.io 13 | 14 | To follow along a [Fly.io](https://fly.io) account is needed. 15 | 16 | Install [*flyctl*](https://fly.io/docs/getting-started/installing-flyctl/) 17 | 18 | 1. `flyctl auth login` 19 | 20 | 1. `flyctl launch` 21 | 22 | 1. `flyctl secrets set MEILI_MASTER_KEY={YOUR RANDOM KEY}` 23 | 24 | 1. `flyctl open` -------------------------------------------------------------------------------- /fly.toml: -------------------------------------------------------------------------------- 1 | # fly.toml file generated for little-dream-646 on 2022-08-29T11:00:59+02:00 2 | 3 | app = "little-dream-646" 4 | kill_signal = "SIGINT" 5 | kill_timeout = 5 6 | processes = [] 7 | 8 | [env] 9 | 10 | [experimental] 11 | allowed_public_ports = [] 12 | auto_rollback = true 13 | cmd = [] 14 | entrypoint = [] 15 | exec = [] 16 | 17 | [[services]] 18 | http_checks = [] 19 | internal_port = 7700 20 | processes = ["app"] 21 | protocol = "tcp" 22 | script_checks = [] 23 | [services.concurrency] 24 | hard_limit = 25 25 | soft_limit = 20 26 | type = "connections" 27 | 28 | [[services.ports]] 29 | force_https = true 30 | handlers = ["http"] 31 | port = 80 32 | 33 | [[services.ports]] 34 | handlers = ["tls", "http"] 35 | port = 443 36 | 37 | [[services.tcp_checks]] 38 | grace_period = "1s" 39 | interval = "15s" 40 | restart_limit = 0 41 | timeout = "2s" 42 | --------------------------------------------------------------------------------