https://github.com/lost22git/test-kemal
https://github.com/lost22git/test-kemal
crystal docker docker-compose kemal sqlite3 static-linking
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lost22git/test-kemal
- Owner: lost22git
- License: mit
- Created: 2023-09-07T14:50:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-05T00:16:42.000Z (over 1 year ago)
- Last Synced: 2025-02-05T21:25:55.593Z (4 months ago)
- Topics: crystal, docker, docker-compose, kemal, sqlite3, static-linking
- Language: Crystal
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# test-kemal
an example of kemal
- sqlite
- static linking
- docker multi-stage build## Installation
TODO: Write installation instructions here
## Usage
### Docker
- build docker image `test-kemal`
```shell
docker build -t test-kemal --build-arg http_proxy=$HTTP_PROXY .
```- create docker network `mnet`
```shell
docker network create -o com.docker.network.bridge.name=mnet mnet
```- run docker container `test-kemal` in network `mnet`
```shell
docker run -dit --name test-kemal --net mnet -p 3000:3000/tcp test-kemal
```### Docker compose
```shell
docker compose up -d
```## Development
TODO: Write development instructions here
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## Contributors
- [lost22git](https://github.com/your-github-user) - creator and maintainer