Commit c3cd3cfc authored by TonyFord's avatar TonyFord
Browse files

replace path, remove network_mode and add ports

parent 0a2625af
Pipeline #1361 passed with stage
in 11 seconds
......@@ -19,7 +19,7 @@ ENV GEM_HOME=/usr/gem
# --
ENV JEKYLL_VAR_DIR=/var/jekyll
ENV JEKYLL_VERSION=4.0.0
ENV JEKYLL_DATA_DIR=/srv/jekyll
ENV JEKYLL_DATA_DIR=/var/www
ENV JEKYLL_BIN=/usr/jekyll/bin
ENV JEKYLL_ENV=production
......@@ -141,5 +141,5 @@ RUN rm -rf $GEM_HOME/cache
# --
CMD ["jekyll", "--help"]
ENTRYPOINT ["/usr/jekyll/bin/entrypoint"]
WORKDIR /srv/jekyll
VOLUME /srv/jekyll
WORKDIR /var/www
VOLUME /var/www
......@@ -12,18 +12,9 @@ services:
- ${FAIRCOIN_CONF}
container_name: ${CI_PROJECT_NAME}-jekyll-server
restart: always
command: jekyll serve --port ${LH_PORT_pulse}
command: jekyll serve --host 0.0.0.0 --port 4000
ports:
- ${LH_PORT_pulse}:4000
user: "${RUNNER_UID}:${RUNNER_GID}"
network_mode: "host"
volumes:
- .:/srv/jekyll
# php-server:
# restart: always
# image: php:7
# command: php -S 127.0.0.1:4002 -t /srv/jekyll/_site
# network_mode: "host"
# ports:
# - "4002:4020"
# volumes:
# - .:/srv/jekyll
- .:/var/www
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment