readme
This commit is contained in:
@@ -18,22 +18,43 @@ su - porstgres
|
|||||||
createuser xsweet
|
createuser xsweet
|
||||||
psql -c "alter user xsweet with encrypted password 'SUPERMOTDEPASSE';"
|
psql -c "alter user xsweet with encrypted password 'SUPERMOTDEPASSE';"
|
||||||
createdb xsweetdb -O xsweet
|
createdb xsweetdb -O xsweet
|
||||||
# psql -c "grant all privileges on database xsweetdb to xsweet;"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### xsweet
|
### xsweet
|
||||||
```sh
|
```sh
|
||||||
docker pull cokoapps/xsweet:1.1.0
|
docker pull cokoapps/xsweet:1.1.0
|
||||||
docker run -d -t -i \
|
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
|
||||||
-e PUBSWEET_SECRET=YOURSECRET
|
```
|
||||||
-e SERVER_PORT=9001
|
|
||||||
-e SERVER_HOST=localhost
|
## pagedjs
|
||||||
-e SERVER_PROTOCOL=http
|
|
||||||
-e POSTGRES_USER=xsweet
|
### postgresql db
|
||||||
-e POSTGRES_PASSWORD=YOURPASSWORD
|
```sh
|
||||||
-e POSTGRES_HOST=localhost
|
su - porstgres
|
||||||
-e POSTGRES_DB=xsweetdb
|
createuser pagedjs
|
||||||
-e POSTGRES_PORT=5432
|
psql -c "alter user pagedjs with encrypted password 'SUPERMOTDEPASSE';"
|
||||||
-e NODE_ENV=production
|
createdb pagedjsdb -O pagedjs
|
||||||
cokoapps/xsweet
|
```
|
||||||
|
|
||||||
|
### 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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user