Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docker compose #144

Merged
merged 4 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,21 @@ There are also precompiled binaries in the [releases](https://github.com/flawidd
docker run --name Restfox -d -p 4004:4004 flawiddsouza/restfox:0.14.1
```

Start webapp using docker compose
```
docker-compose up -d
```

Start webapp using docker compose with custom port
```
docker-compose -p 5000:4004 up -d
```

Start webapp using docker compose with different version
```
RESTFOX_VERSION=0.15.0 docker-compose up -d
```

## Screenshots

<img src="screenshots/1.png?raw=true">
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3.8'

services:
Restfox:
image: flawiddsouza/restfox:${RESTFOX_VERSION:-0.14.1}
container_name: Restfox
ports:
- "${CUSTOM_PORT_ON_HOST:-4004}:4004"
detach: true