Update README.md
This commit is contained in:
parent
c79f2b403c
commit
aa999294f9
10
README.md
10
README.md
@ -25,15 +25,17 @@ services:
|
|||||||
- POSTGRES_PASSWORD=password
|
- POSTGRES_PASSWORD=password
|
||||||
volumes:
|
volumes:
|
||||||
- chela-db:/var/lib/postgresql/data
|
- chela-db:/var/lib/postgresql/data
|
||||||
|
restart: unless-stopped
|
||||||
chela:
|
chela:
|
||||||
image: secondsmiles/chela
|
image: secondsmiles/chela
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=postgres://chela:password@dbhost/postgres?sslmode=disable
|
- DATABASE_URL=postgres://chela:password@chela-postgres/postgres?sslmode=disable
|
||||||
- CHELA_HOST=example.com
|
- CHELA_HOST=example.com
|
||||||
depends_on:
|
depends_on:
|
||||||
- chela_postgres
|
- chela-postgres
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
chela-db:
|
chela-db:
|
||||||
@ -73,10 +75,6 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:3000/;
|
proxy_pass http://localhost:3000/;
|
||||||
}
|
|
||||||
|
|
||||||
location /create {
|
|
||||||
proxy_pass http://localhost:3000/create;
|
|
||||||
|
|
||||||
limit_except GET HEAD {
|
limit_except GET HEAD {
|
||||||
auth_basic 'Restricted';
|
auth_basic 'Restricted';
|
||||||
|
Loading…
Reference in New Issue
Block a user