Removal of putting .env file into the docker image for monitor (#289)
This commit is contained in:
parent
df0dc1c313
commit
8977ed6d3b
@ -97,8 +97,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: monitor/Dockerfile
|
dockerfile: monitor/Dockerfile
|
||||||
args:
|
env_file: ../e2e-commons/components-envs/monitor.env
|
||||||
DOT_ENV_PATH: e2e-commons/components-envs/monitor.env
|
|
||||||
entrypoint: yarn check-and-start
|
entrypoint: yarn check-and-start
|
||||||
ports:
|
ports:
|
||||||
- "3010:3010"
|
- "3010:3010"
|
||||||
@ -108,8 +107,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: monitor/Dockerfile
|
dockerfile: monitor/Dockerfile
|
||||||
args:
|
env_file: ../e2e-commons/components-envs/monitor-erc20.env
|
||||||
DOT_ENV_PATH: e2e-commons/components-envs/monitor-erc20.env
|
|
||||||
entrypoint: yarn check-and-start
|
entrypoint: yarn check-and-start
|
||||||
ports:
|
ports:
|
||||||
- "3011:3011"
|
- "3011:3011"
|
||||||
@ -119,8 +117,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: monitor/Dockerfile
|
dockerfile: monitor/Dockerfile
|
||||||
args:
|
env_file: ../e2e-commons/components-envs/monitor-erc20-native.env
|
||||||
DOT_ENV_PATH: e2e-commons/components-envs/monitor-erc20-native.env
|
|
||||||
entrypoint: yarn check-and-start
|
entrypoint: yarn check-and-start
|
||||||
ports:
|
ports:
|
||||||
- "3012:3012"
|
- "3012:3012"
|
||||||
@ -130,8 +127,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: monitor/Dockerfile
|
dockerfile: monitor/Dockerfile
|
||||||
args:
|
env_file: ../e2e-commons/components-envs/monitor-amb.env
|
||||||
DOT_ENV_PATH: e2e-commons/components-envs/monitor-amb.env
|
|
||||||
entrypoint: yarn check-and-start
|
entrypoint: yarn check-and-start
|
||||||
ports:
|
ports:
|
||||||
- "3013:3013"
|
- "3013:3013"
|
||||||
|
@ -15,9 +15,9 @@ RUN mv ./contracts/build ./ && rm -rf ./contracts/* ./contracts/.[!.]* && mv ./b
|
|||||||
COPY ./commons ./commons
|
COPY ./commons ./commons
|
||||||
|
|
||||||
COPY ./monitor ./monitor
|
COPY ./monitor ./monitor
|
||||||
ARG DOT_ENV_PATH=./monitor/.env
|
|
||||||
COPY ${DOT_ENV_PATH} ./monitor/.env
|
|
||||||
|
|
||||||
WORKDIR /mono/monitor
|
WORKDIR /mono/monitor
|
||||||
CMD echo "To start the monitor run:" \
|
CMD echo "To start the monitor web service run:" \
|
||||||
"yarn check-and-start"
|
"yarn start" \
|
||||||
|
"To run monitor scripts run:" \
|
||||||
|
"yarn check-all"
|
||||||
|
Loading…
Reference in New Issue
Block a user