Skip to content

Commit

Permalink
Support proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
tochi-y committed Aug 19, 2021
1 parent 3f92078 commit dd9b8d6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ services:
retries: 10

personium:
build: personium
build:
context: personium
args:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
- no_proxy=${no_proxy}
ports:
- 8080:8080
networks:
Expand All @@ -55,7 +60,12 @@ services:
retries: 10

nginx:
build: nginx
build:
context: nginx
args:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
- no_proxy=${no_proxy}
ports:
- 443:443
- 80:80
Expand All @@ -71,4 +81,4 @@ volumes:
networks:
frontend:
mq:
backend:
backend:
4 changes: 4 additions & 0 deletions nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM nginx:1.14

ARG http_proxy
ARG https_proxy
ARG no_proxy

RUN apt-get update && apt-get install -y \
vim \
curl \
Expand Down
4 changes: 4 additions & 0 deletions personium/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM tomcat:9-jdk8-adoptopenjdk-hotspot

ARG http_proxy
ARG https_proxy
ARG no_proxy

ENV CORE_VER=1.7.21
ENV ENGINE_VER=1.5.27
ENV PERSONIUM_REPO=https://personium.io/mvnrepo/
Expand Down

0 comments on commit dd9b8d6

Please sign in to comment.