Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

official doc is not working #11

Open
sg552 opened this issue Jun 6, 2022 · 2 comments
Open

official doc is not working #11

sg552 opened this issue Jun 6, 2022 · 2 comments

Comments

@sg552
Copy link

sg552 commented Jun 6, 2022

This is not an issue about this project, but about the official doc. ( https://fly.io/docs/reference/redis/

The Official doc for running a new REDIS is totally not working, it would generate an incorrect fly.toml and doesn't work.

I spent hours until I found this demo project, and its fly.toml is correct

Please contact related employee to fix the bug, thanks ~

@sg552
Copy link
Author

sg552 commented Jun 6, 2022

for more info, the official doc would generate a incorrect fly.toml looks like:

# fly.toml file generated for pnsredis on 2022-06-03T17:05:03+08:00
app = "pnsredis"

kill_signal = "SIGINT"
kill_timeout = 5
processes = []

[build]
  image = "flyio/redis:6.2.6"

[env]

[experimental]
  allowed_public_ports = []
  auto_rollback = true

[[services]]
  http_checks = []
  internal_port = 8080
  processes = ["app"]
  protocol = "tcp"
  script_checks = []

  [services.concurrency]
    hard_limit = 25
    soft_limit = 20
    type = "connections"

  [[services.ports]]
    force_https = true
    handlers = ["http"]
    port = 80

  [[services.ports]]
    handlers = ["tls", "http"]
    port = 443

  [[services.tcp_checks]]
    grace_period = "1s"
    interval = "15s"
    restart_limit = 0
    timeout = "2s"
  [[mounts]]
    destination = "/data"
    source = "redis_server"

@shymega
Copy link

shymega commented Jan 2, 2024

This looks like the documentation page has been superseded by the hosted Redis instance. Maybe this issue can be closed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants