forked from filipg/gonito
Fix docker compose
This commit is contained in:
parent
9b0aa10d2a
commit
fc5570b2dc
@ -11,7 +11,7 @@ services:
|
||||
depends_on:
|
||||
- gonito
|
||||
gonito:
|
||||
image: loxygen/gonito:0.3.0
|
||||
image: loxygen/gonito:latest
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
@ -29,7 +29,7 @@ services:
|
||||
- "3000"
|
||||
volumes:
|
||||
- "${GONITO_ARENA_VOLUME}:/gonito/arena"
|
||||
- "${GONITO_SSH_DIRECTORY}:/gonito/.ssh"
|
||||
- "${GONITO_SSH_DIRECTORY}:/root/.ssh"
|
||||
postgres:
|
||||
image: postgres
|
||||
environment:
|
||||
|
@ -11,14 +11,21 @@ http {
|
||||
|
||||
upstream gonito {
|
||||
server gonito:3000;
|
||||
|
||||
keepalive 100;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name zacna-ania;
|
||||
server_name gonito;
|
||||
|
||||
location / {
|
||||
proxy_pass http://gonito;
|
||||
proxy_redirect off;
|
||||
|
||||
proxy_read_timeout 600;
|
||||
proxy_connect_timeout 600;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection "";
|
||||
}
|
||||
|
||||
listen 443 ssl;
|
||||
|
Loading…
Reference in New Issue
Block a user