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