1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-20 10:20:00 +02:00
seaweedfs/docker/filer_postgres2.toml
2022-11-08 20:01:47 -07:00

22 lines
491 B
TOML

[postgres2]
enabled = true
port = 5432
createTable = """
CREATE TABLE IF NOT EXISTS "%s" (
dirhash BIGINT,
name VARCHAR(65535),
directory VARCHAR(65535),
meta bytea,
PRIMARY KEY (dirhash, name)
);
"""
hostname = "postgres"
username = "seaweedfs"
database = "seaweedfs" # create or use an existing database
password = "seaweedfs"
schema = ""
sslmode = "disable"
connection_max_idle = 5
connection_max_open = 10
connection_max_lifetime_seconds = 0