Skip to content

grahamgilchrist/docker-flightplan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

docker-flightplan

Repo to store automated docker build for a flightplan environment

Based on a basic node environment with the flightplan CLI tool added.

Repo structure is based on the same version folder convention as official docker hub repos (e.g. python: https://github.com/docker-library/python). Implements ndoe modules install from grahamgilchrist/node-onbuild

Usage

  • Mount a projects directory to /usr/src/app. The directory should contain:
    • package.json file loading the local flightplan module
    • flightplan.js (or equivalent) file holding your flight definitions
    • Anything else needed by flightplan (e.g. project files to deploy to remote server)
  • Run the fly task:server command as if locally. See Flightplan docs
  • docker run -v ./:/usr/src/app grahamgilchrist/flightplan:0.6 fly task:server

Use with docker compose:

docker-compose.yaml:

flightplan:
  image: grahamgilchrist/flightplan:0.6
  volumes:
    - ./:/usr/src/app
  • docker-compose run flightplan fly task:server

About

Repo to store automated docker build for a flightplan environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published