https://github.com/raphaelbh/bootstrap-application
Project created to run the startup of an application.
https://github.com/raphaelbh/bootstrap-application
application bootstrap docker docker-hub docker-image infrastructure startup
Last synced: 3 months ago
JSON representation
Project created to run the startup of an application.
- Host: GitHub
- URL: https://github.com/raphaelbh/bootstrap-application
- Owner: raphaelbh
- Created: 2022-03-04T17:25:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-24T16:37:39.000Z (over 4 years ago)
- Last Synced: 2026-01-03T20:43:48.152Z (6 months ago)
- Topics: application, bootstrap, docker, docker-hub, docker-image, infrastructure, startup
- Language: Dockerfile
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bootstrap Application
[](#)
Project created to run the startup of an application.
https://hub.docker.com/repository/docker/raphaelbh/bootstrap
You can create:
- infrastructure/resources
- mass of data
- anything you want
Installed tools:
- awscli
- curl
- zip / unzip
- jq
## Requirements
[](https://www.docker.com/)
## Installation
```bash
$ docker build -t raphaelbh/bootstrap:latest .
```
## Usage
A folder with the initialization scripts must be informed through a volume:
`{your_folder}:/bootstrap`
It is expected that inside this folder there is a file called `run.sh` that will be automatically executed.
If you want to start the bootstrap process from another file, you must add an environment variable with the path of the file:
`START_SCRIPT=./test/run.sh`
```bash
$ docker run -v $(pwd)/sample/bootstrap:/bootstrap raphaelbh/bootstrap
or
$ docker run -v $(pwd)/sample/bootstrap:/bootstrap -e START_SCRIPT=./test/start.sh raphaelbh/bootstrap
```
## Environment Variables
`START_SCRIPT`
## Tech Stack
[](https://www.docker.com/)
[](https://www.shellscript.sh/)
## Reference
- https://hub.docker.com/_/alpine
## Feedback
If you have any feedback, please contact me at raphaeldias.ti@gmail.com
[](https://github.com/raphaelbh)
[](https://www.linkedin.com/in/raphaelbh/)