aboutsummaryrefslogblamecommitdiff
path: root/op_guide/create_database/README.md
blob: 7084a10a34b1a34e2d7c8fe2c2f71a305d0cd411 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                     
```bash
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
```

```sql
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
```