https://github.com/gesundkrank/mrfoosball
https://github.com/gesundkrank/mrfoosball
ballern foosball kicker slack slack-bot
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gesundkrank/mrfoosball
- Owner: gesundkrank
- License: gpl-3.0
- Created: 2017-03-02T09:51:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:01:45.000Z (over 3 years ago)
- Last Synced: 2024-05-27T12:23:35.499Z (about 2 years ago)
- Topics: ballern, foosball, kicker, slack, slack-bot
- Language: Java
- Size: 2.52 MB
- Stars: 2
- Watchers: 20
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mr Foosball [](https://travis-ci.com/gesundkrank/mrfoosball)
## Configuration
Create your test configuration in your project folder as
`./mrfoosball.properties`.
Example configuration file:
```
port=8080
slackToken=xoxb-1564223413123-adkjADAsjdladdj
connectionHbm2ddl=create-drop
```
## Run App Locally
```bash
./gradlew [-Pproduction] composeUp
```
To see the logs of the container do
```bash
docker logs `docker ps --filter 'name=mrfoosball_mrfoosball' --format '{{.ID}}'`
```
To shut down all containers exec
```
./gradlew composeDown
```
## Dockerize Production Version
```bash
./gradlew buildDocker
```
## Terraform
### Run Terraform only for network setup (vpc & dns)
```bash
terraform apply -target=module.network_setup
```
Creates the docker package and pushes it to the registry.
To get access to the registry do `aws ecr get-login --no-include-email` and execute the returned
docker command.