Skip to content

ground-creative/docker-scripts-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOCKER IMAGE FOR PYTHON/NODEJS SCRIPTS

Docker environment for python/nodejs scripts

Installation

  1. Clone the repository
git clone https://github.com/ground-creative/docker-scripts-runner
  1. Create a folder named volume and store your code there
mkdir volume
  1. Change environment variables in env.sample file and rename it to .env

Usage

docker compose --project-name=test up -d

Or

docker compose --project-name=test up -d --build

Command Environment Variables

It's possible to override environmet variable file while starting or building a container

Command Description
CONTAINER_NAME Container name
TEST Keeps the container running and ignores any startup commands
DOCKER_IMAGE Which image to use
COMMAND Run startup command
VOLUME Which volume to use
WORK_DIR Container working directory
DOCKER_FILE Docker build file
TIMEZONE server timezone
LOG_DRIVER log driver
RESTART docker restart options

Example usage

TEST=true COMMAND="tail -f /dev/null" docker compose --project-name=test up -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages