Skip to content

Instantly share code, notes, and snippets.

View eleazarbr's full-sized avatar

Eleazar Resendez eleazarbr

View GitHub Profile
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{html,css,sass,scss,js,vue,json,ts,tsx}]
@eleazarbr
eleazarbr / some-everyday-docker-commands
Last active July 12, 2024 16:13
I created this gist to keep track of various operations with my images and containers.
docker build
docker build -t processmaker4/executor-processmaker-sql-2:v0.1.0 .
docker run
docker run -it processmaker4/executor-processmaker-sql-2:v0.1.0 /bin/bash
docker run with data mapping
docker run -it -v ./src/config.json:/opt/executor/config.json -v ./src/data.json:/opt/executor/data.json -v ./src/script.sql:/opt/executor/script.sql -v ./src/output.json:/opt/executor/output.json processmaker4/executor-processmaker-sql-2:v0.1.0 /bin/bash
docker-compose
docker-compose up -d