From 3f9bd47846c25505bb81c72e9278ee31f80bad27 Mon Sep 17 00:00:00 2001 From: Jean Froment Date: Thu, 9 Mar 2017 19:18:10 +0100 Subject: [PATCH] change port strategy for h5ai --- Dockerfiles/h5ai/Dockerfile | 2 +- Dockerfiles/h5ai/h5ai.nginx.conf | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfiles/h5ai/Dockerfile b/Dockerfiles/h5ai/Dockerfile index 34b130c..d703e6d 100644 --- a/Dockerfiles/h5ai/Dockerfile +++ b/Dockerfiles/h5ai/Dockerfile @@ -17,4 +17,4 @@ RUN patch -p1 -u -d /usr/share/h5ai/_h5ai/private/php/core/ -i /patch && rm patc ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf CMD supervisord -c /etc/supervisor/conf.d/supervisord.conf -EXPOSE 80 \ No newline at end of file +EXPOSE 12333 \ No newline at end of file diff --git a/Dockerfiles/h5ai/h5ai.nginx.conf b/Dockerfiles/h5ai/h5ai.nginx.conf index 91c43bd..89e8cda 100644 --- a/Dockerfiles/h5ai/h5ai.nginx.conf +++ b/Dockerfiles/h5ai/h5ai.nginx.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 12333; root /var/www; index /_h5ai/public/index.php; try_files $uri $uri/ =404; diff --git a/docker-compose.yml b/docker-compose.yml index d5d1621..7e16d9b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,7 +62,7 @@ services: networks: - main ports: - - "12333:80" + - "12333:12333" volumes: - torrents:/torrents - config:/config