This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/man/create_database
2019-12-09 16:18:48 +01:00
..
README.md [synapse] Docker update from 1.4.0rc1 to 1.7.0rc1 2019-12-09 16:18:48 +01:00

ssh root@<one node of the cluster>
docker run -t -i superboum/amd64_postgres:v1
psql -h psql-proxy.service.2.cluster.deuxfleurs.fr -p 25432 -U postgres -W postgres
CREATE USER seafile;
CREATE DATABASE seafile ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' template=template0 OWNER seafile;
-- GRANT ALL PRIVILEGES ON DATABASE seafile TO seafile;
consul kv import @ldapkv_seafile.json