Created
November 8, 2023 03:15
-
-
Save bogordesaincom/2684e95a024bb6db87de7885097e761e to your computer and use it in GitHub Desktop.
Couch DB Fly
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
FROM couchdb:latest | |
COPY local.ini /opt/couchdb/etc/ |
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
# fly.toml app configuration file generated for couchdbz on 2023-11-07T23:51:44+07:00 | |
# | |
# See https://fly.io/docs/reference/configuration/ for information about how to use this file. | |
# | |
app = "yourapps" | |
primary_region = "sin" | |
# [metrics] | |
# port = 9091 | |
# path = "/metrics" | |
[env] | |
COUCHDB_PASSWORD = "" | |
COUCHDB_SECRET = "" | |
COUCHDB_USER = "" | |
HOSTNAME = "" | |
NODENAME = "" | |
# COUCHDB_PASSWORD = "examplePassword" | |
# COUCHDB_SECRET = "c6c8d717251d45d22321ac74d5d0578f" | |
# COUCHDB_USER = "user" | |
# HOSTNAME = "0.0.0.0" | |
# NODENAME = "nodecouch" | |
[[mounts]] | |
source = "db_storage" | |
destination = "/opt/couchdb/data" | |
[http_service] | |
internal_port = 5984 | |
force_https = true | |
auto_stop_machines = true | |
auto_start_machines = true | |
min_machines_running = 1 | |
processes = ["app"] |
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
[couchdb] | |
;max_document_size = 4294967296 ; bytes | |
;os_process_timeout = 5000 | |
single_node = true | |
[couch_peruser] | |
; If enabled, couch_peruser ensures that a private per-user database | |
; exists for each document in _users. These databases are writable only | |
; by the corresponding user. Databases are in the following form: | |
; userdb-{hex encoded username} | |
enable = true | |
; If set to true and a user is deleted, the respective database gets | |
; deleted as well. | |
delete_dbs = true | |
[chttpd] | |
bind_address = 0.0.0.0 | |
[httpd] | |
bind_address = 127.0.0.1 | |
[admins] | |
admin = superPassword | |
[prometheus] | |
additional_port = true | |
bind_address = 127.0.0.1 | |
port = 9091 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment