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: depends_on:
- gonito - gonito
gonito: gonito:
image: loxygen/gonito:0.3.0 image: loxygen/gonito:latest
depends_on: depends_on:
- postgres - postgres
environment: environment:
@ -29,7 +29,7 @@ services:
- "3000" - "3000"
volumes: volumes:
- "${GONITO_ARENA_VOLUME}:/gonito/arena" - "${GONITO_ARENA_VOLUME}:/gonito/arena"
- "${GONITO_SSH_DIRECTORY}:/gonito/.ssh" - "${GONITO_SSH_DIRECTORY}:/root/.ssh"
postgres: postgres:
image: postgres image: postgres
environment: environment:

View File

@ -11,14 +11,21 @@ http {
upstream gonito { upstream gonito {
server gonito:3000; server gonito:3000;
keepalive 100;
} }
server { server {
server_name zacna-ania; server_name gonito;
location / { location / {
proxy_pass http://gonito; proxy_pass http://gonito;
proxy_redirect off; proxy_redirect off;
proxy_read_timeout 600;
proxy_connect_timeout 600;
proxy_http_version 1.1;
proxy_set_header Connection "";
} }
listen 443 ssl; listen 443 ssl;