Fix docker compose

This commit is contained in:
Filip Gralinski 2020-03-26 21:50:37 +01:00
parent 9b0aa10d2a
commit fc5570b2dc
2 changed files with 10 additions and 3 deletions

View File

@ -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:

View File

@ -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;