|
@@ -18,22 +18,43 @@ su - porstgres
|
|
|
createuser xsweet
|
|
|
psql -c "alter user xsweet with encrypted password 'SUPERMOTDEPASSE';"
|
|
|
createdb xsweetdb -O xsweet
|
|
|
-# psql -c "grant all privileges on database xsweetdb to xsweet;"
|
|
|
```
|
|
|
|
|
|
### xsweet
|
|
|
```sh
|
|
|
docker pull cokoapps/xsweet:1.1.0
|
|
|
-docker run -d -t -i \
|
|
|
- -e PUBSWEET_SECRET=YOURSECRET
|
|
|
- -e SERVER_PORT=9001
|
|
|
- -e SERVER_HOST=localhost
|
|
|
- -e SERVER_PROTOCOL=http
|
|
|
- -e POSTGRES_USER=xsweet
|
|
|
- -e POSTGRES_PASSWORD=YOURPASSWORD
|
|
|
- -e POSTGRES_HOST=localhost
|
|
|
- -e POSTGRES_DB=xsweetdb
|
|
|
- -e POSTGRES_PORT=5432
|
|
|
- -e NODE_ENV=production
|
|
|
- cokoapps/xsweet
|
|
|
+docker run -d -t -i -e PUBSWEET_SECRET=YOURSECRET -e SERVER_PORT=9001 -e SERVER_HOST=localhost -e SERVER_PROTOCOL=http -e POSTGRES_USER=xsweet -e POSTGRES_PASSWORD=SUPERMOTDEPASSE -e POSTGRES_HOST=localhost -e POSTGRES_DB=xsweetdb -e POSTGRES_PORT=5432 -e NODE_ENV=production --name xsweet cokoapps/xsweet:1.1.0
|
|
|
+```
|
|
|
+
|
|
|
+## pagedjs
|
|
|
+
|
|
|
+### postgresql db
|
|
|
+```sh
|
|
|
+su - porstgres
|
|
|
+createuser pagedjs
|
|
|
+psql -c "alter user pagedjs with encrypted password 'SUPERMOTDEPASSE';"
|
|
|
+createdb pagedjsdb -O pagedjs
|
|
|
+```
|
|
|
+
|
|
|
+### pagedjs
|
|
|
+```sh
|
|
|
+docker pull cokoapps/pagedjs:1.1.0
|
|
|
+docker run -d -t -i -e PUBSWEET_SECRET=YOURSECRET -e SERVER_PORT=9002 -e SERVER_HOST=localhost -e SERVER_PROTOCOL=http -e POSTGRES_USER=pagedjs -e POSTGRES_PASSWORD=SUPERMOTDEPASSE -e POSTGRES_HOST=localhost -e POSTGRES_DB=pagedjsdb -e POSTGRES_PORT=5432 -e NODE_ENV=production --name pagedjs cokoapps/pagedjs:1.1.0
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+## icml
|
|
|
+
|
|
|
+### postgresql db
|
|
|
+```sh
|
|
|
+su - porstgres
|
|
|
+createuser icml
|
|
|
+psql -c "alter user icml with encrypted password 'SUPERMOTDEPASSE';"
|
|
|
+createdb icmldb -O icml
|
|
|
+```
|
|
|
+
|
|
|
+### icml
|
|
|
+```sh
|
|
|
+docker pull cokoapps/icml:1.1.0
|
|
|
+docker run -d -t -i -e PUBSWEET_SECRET=YOURSECRET -e SERVER_PORT=9003 -e SERVER_HOST=localhost -e SERVER_PROTOCOL=http -e POSTGRES_USER=icml -e POSTGRES_PASSWORD=SUPERMOTDEPASSE -e POSTGRES_HOST=localhost -e POSTGRES_DB=icmldb -e POSTGRES_PORT=5432 -e NODE_ENV=production --name icml cokoapps/icml:1.1.0
|
|
|
```
|