-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dkazakov
committed
Feb 22, 2024
1 parent
99b6bde
commit 9f204c6
Showing
5 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM alpine:3.19.1 | ||
COPY .. /tmp | ||
EXPOSE 8080 | ||
RUN apk add openjdk17 | ||
WORKDIR /tmp | ||
RUN chmod +x ./gradlew | ||
RUN ./gradlew build | ||
ENTRYPOINT ["./gradlew", "bootRun"] |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
services: | ||
server: | ||
hostname: knowledge-management-server | ||
container_name: knowledge-management-server | ||
build: | ||
context: . | ||
ports: | ||
- "8080:8080" | ||
networks: | ||
priv-knowledge-system-net: | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: '0.5' | ||
memory: 512M | ||
networks: | ||
priv-knowledge-system-net: | ||
driver: bridge | ||
ipam: | ||
config: | ||
- subnet: 172.18.254.0/28 |