Add PostgreSQL database configuration
Some checks failed
Build and publish wylab SS14 server / build-amd64 (push) Successful in 1m10s
Build and publish wylab SS14 server / build-arm64 (push) Has been cancelled

Configure SS14 server to use PostgreSQL for persistent storage.
Data persists independently of game server container rebuilds.
This commit is contained in:
2025-12-16 07:04:23 +01:00
parent 3b41aab1f5
commit d91dfefec1

View File

@@ -102,6 +102,16 @@ download_url = "https://cdn.wylab.me/fork/wylab/version/bce50cad4cebdc8443947911
# build = "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855"
build = "D51F7777997E329D9B5A8B307AB8F49FF0A699D1B52EC7B7505C3DBBFF92E103"
[database]
# Database engine: sqlite or postgres
engine = "postgres"
# PostgreSQL connection settings
pg_host = "192.168.1.50"
pg_port = 5432
pg_database = "ss14"
pg_username = "ss14"
pg_password = "hyphar-cAqtu6-wyzfet"
[auth]
# Authentication (accounts):
# 0 = Optional, 1 = Required, 2 = Disabled