🔧 Added the ENV var to the Dockerfile
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
FROM node:12.21.0
|
FROM node:12.21.0
|
||||||
LABEL maintainer="Rishi Ghan <rishi.ghan@gmail.com>"
|
LABEL maintainer="Rishi Ghan <rishi.ghan@gmail.com>"
|
||||||
|
|
||||||
|
ENV UNDERLYING_HOST ghost
|
||||||
|
|
||||||
RUN mkdir -p /usr/src/threetwo
|
RUN mkdir -p /usr/src/threetwo
|
||||||
WORKDIR /usr/src/threetwo
|
WORKDIR /usr/src/threetwo
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ services:
|
|||||||
image: frishi/threetwo
|
image: frishi/threetwo
|
||||||
container_name: threetwo-ui
|
container_name: threetwo-ui
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
|
||||||
UNDERLYING_HOST: ghost
|
|
||||||
volumes:
|
volumes:
|
||||||
- $COMICS_DIRECTORY:/comics
|
- $COMICS_DIRECTORY:/comics
|
||||||
- $USERDATA_DIRECTORY:/userdata
|
- $USERDATA_DIRECTORY:/userdata
|
||||||
|
|||||||
Reference in New Issue
Block a user