项目作者: nouchka

项目描述 :
高级语言: Dockerfile
项目地址: git://github.com/nouchka/docker-hackmyresume-web.git
创建时间: 2016-01-12T22:44:08Z
项目社区:https://github.com/nouchka/docker-hackmyresume-web

开源协议:

下载


docker-hackmyresume-web

Docker pull
Docker stars
Build Status
Docker size

Docker image to build personal website with resume (Ex. https://japromis.katagena.com/)

Versions

Version follows npm package version

  • 1.0 (latest) (npm package version >=1.3.0 <2)

Image

This image extends docker-hackmyresume providing a nginx server.

The entrypoint of the image:

  • download the json file
  • generate html file using parent image
  • launch nginx

Use

Use from command line (port 8005):

  1. docker run -p 8005:80 \
  2. -e 'OUTPUT_TEMPLATE=kendall' \
  3. -e 'PHONE=+33602030405' \
  4. -e 'EMAIL=docker@katagena.com' \
  5. -e 'ADDRESS=25 Rue Delphin Loche' \
  6. -e 'RESUME_JSON_URL=https://raw.githubusercontent.com/nouchka/japromis.katagena.com/master/resume.json' \
  7. nouchka/hackmyresume-web

or use with docker compose (port 8005):

  1. docker-compose up -d

Environment variables:

  1. # specify basic template or https://jsonresume.org/themes/ template (ex. kendall in docker-compose.yml, default: modern)
  2. OUTPUT_TEMPLATE=kendall
  3. # will replace ###PHONE### by this value
  4. PHONE=+33602030405
  5. # will replace ###EMAIL### by this value
  6. EMAIL=docker@katagena.com
  7. # will replace ###ADDRESS### by this value
  8. ADDRESS=25 Rue Delphin Loche
  9. # specify url to json file
  10. RESUME_JSON_URL=https://raw.githubusercontent.com/nouchka/japromis.katagena.com/master/resume.json

Todo

  • Migrate docker-compose file format to version 2
  • Add parameters to define directory
  • CI check contains of index.html

Donate

Bitcoin Address: 15NVMBpZJTvkefwfsMAFA3YhyiJ5D2zd3R