🐋 Clone NodeJS app from git and run it in a Docker container.
803
docker-compose.yml file:$ wget https://raw.githubusercontent.com/barbarbar338/docker-node-app-runner/main/docker-compose.yml
docker-compose.yml file as you wish. Don't forget to add these environment variables.
runner__GIT_USERNAME: Your git usernamerunner__PERSONAL_ACCESS_TOKEN: Git server personal access token.runner__GIT_FQDN: Git server fqdn. Example: https://github.com -> github.com, https://gitea.338.rocks -> gitea.338.rocksrunner__GIT_REPO_NAME: Repo to be cloned.runner__GIT_REPO_OWNER: Owner of the repo to be cloned.runner__GIT_SERVER_SECURE: true or falserunner__EXTRA_ALPINE_DEPENDENCIES: This environment variable is not mandatory. If your app depends on extra dependencies then add them here.docker-compose up -d and waitFeel free to use GitHub's features.
git checkout -b feature/my-feature)git commit -m 'my awesome feature my-feature')git push origin feature/my-feature)Give a ⭐️ if this project helped you!
Content type
Image
Digest
sha256:c697450ed…
Size
168.9 MB
Last updated
7 months ago
docker pull barbarbar338/docker-node-app-runner