aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriCrawl <[email protected]>2021-01-11 18:42:59 +0100
committeriCrawl <[email protected]>2021-01-11 18:42:59 +0100
commit63509cd2d3efde22273ac8d4cbb879c5a70489e2 (patch)
treec1ec13a88649ed8d7a85905bcc0c11863bddca4e
parentMerge pull request #251 from Zephyrrus/fix/paginate_search (diff)
downloadhost.fuwn.me-63509cd2d3efde22273ac8d4cbb879c5a70489e2.tar.xz
host.fuwn.me-63509cd2d3efde22273ac8d4cbb879c5a70489e2.zip
fix: docker setup
-rw-r--r--docker/chibi.sh2
-rw-r--r--docker/docker-compose.yml3
-rw-r--r--docker/nginx/chibisafe.moe.http.example.conf2
-rw-r--r--docker/nginx/chibisafe.moe.https.example.conf2
4 files changed, 3 insertions, 6 deletions
diff --git a/docker/chibi.sh b/docker/chibi.sh
index 9c8b22b..b6e2f44 100644
--- a/docker/chibi.sh
+++ b/docker/chibi.sh
@@ -1,2 +1,2 @@
-#!/bin/sh
+#!/bin/bash
docker-compose -f docker-compose.yml -f docker-compose.$1.yml -f docker-compose.config.yml ${@%$1}
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index fc44689..b488670 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -24,9 +24,6 @@ services:
expose:
- "5000"
- "5001"
- ports:
- - "5000"
- - "5001"
restart: unless-stopped
environment:
CHUNK_SIZE: 90
diff --git a/docker/nginx/chibisafe.moe.http.example.conf b/docker/nginx/chibisafe.moe.http.example.conf
index 0a0d507..efc1e3a 100644
--- a/docker/nginx/chibisafe.moe.http.example.conf
+++ b/docker/nginx/chibisafe.moe.http.example.conf
@@ -12,7 +12,7 @@ server {
# reverse proxy
location / {
- proxy_pass http://localhost:5000;
+ proxy_pass http://chibisafe:5000;
include nginxconfig.io/proxy.conf;
}
diff --git a/docker/nginx/chibisafe.moe.https.example.conf b/docker/nginx/chibisafe.moe.https.example.conf
index fce9e9a..c8b83c2 100644
--- a/docker/nginx/chibisafe.moe.https.example.conf
+++ b/docker/nginx/chibisafe.moe.https.example.conf
@@ -16,7 +16,7 @@ server {
# reverse proxy
location / {
- proxy_pass http://localhost:5000;
+ proxy_pass http://chibisafe:5000;
include nginxconfig.io/proxy.conf;
}