-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
6eb31bf
commit 8bd46c9
Showing
4 changed files
with
32 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM outlinewiki/outline:{{ outline_config.version }} | ||
|
||
# Become root to install package | ||
USER root | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y wget \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
HEALTHCHECK --interval=5m --start-period=30s --start-interval=10s CMD \ | ||
wget -qO- http://localhost:${PORT}/_health | grep -q "OK" \ | ||
&& wget -qO- https://hc-ping.com/{{ secret_healthchecks_io.ping_key }}/outline | ||
|
||
# Return to defaut user for security reasons | ||
USER nodejs |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
outline_config: | ||
project_source: "/var/www/outline/outline" | ||
version: "0.78.0" | ||
version: "0.78.0" # Git tag |