Commit 0b855d0e authored by tonyford's avatar tonyford
Browse files

ts env vars

parent 40b3d313
Pipeline #11506 passed with stage
in 16 seconds
......@@ -3,25 +3,28 @@ version: "3.1"
services:
jekyll:
build:
context: ./
args:
RUNNER_UID: "${RUNNER_UID}"
RUNNER_GID: "${RUNNER_GID}"
image: jekyll/jekyll:latest
container_name: faircoin.co-jekyll
command: jekyll build --watch --force_polling --verbose
user: "${RUNNER_UID}:${RUNNER_GID}"
environment:
JEKYLL_UID: ${RUNNER_UID:-1000}
JEKYLL_GID: ${RUNNER_GID:-1000}
volumes:
- .:/var/www
- .:/srv/jekyll
php-server:
restart: always
container_name: faircoin.co-jekyll-php
image: php:7
command: php -S 0.0.0.0:${LH_PORT} -t /var/www/_site
network_mode: "host"
command: php -S 0.0.0.0:4000 -t /var/www/_site
ports:
- ${LH_PORT:-4000}:4000
env_file:
- ${ELECTRUMFAIR_CONF}
- ${FAIRCOIN_CONF}
environment:
erpcuser: ${erpcuser}
erpcpassword: ${erpcpassword}
erpcport: ${erpcport}
depends_on:
- jekyll
volumes:
......
Markdown is supported
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