-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add improvements to the http server (#65)
* chore(main): Add graceful shutdown to the http service * build(compose): add a health check to the compose file * build(main): rename the temporary path environment variable * build(make): add changes to the makefile * fix(templates): fix zip files preview * fix(docker): add non-root user to the dockerfile * fix(templates): shorten the modal title * build(make): set the build target as prerequisite * feat(main): add api router * refactor(main): refactor the functions and handlers that are responsible to convert input files * docs(README): add documentation on how to use the api
- Loading branch information
1 parent
1d52b49
commit 86123de
Showing
9 changed files
with
327 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
name: morphos | ||
services: | ||
morphos-server: | ||
ports: | ||
- 8080:8080 | ||
volumes: | ||
- /tmp:/tmp | ||
image: ghcr.io/danvergara/morphos-server:latest | ||
morphos-server: | ||
image: ghcr.io/danvergara/morphos-server:latest | ||
# uncomment this if you want to build the container yourself. | ||
# build: | ||
# context: . | ||
# target: release | ||
ports: | ||
- 8080:8080 | ||
volumes: | ||
- /tmp:/tmp | ||
healthcheck: | ||
test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1 | ||
interval: 60s | ||
retries: 3 | ||
start_period: 20s | ||
timeout: 30s |
Oops, something went wrong.