-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1904 from scpwiki/WJ-994-single-dokku
[WJ-994] Set up single image for Dokku dev deploy
- Loading branch information
Showing
15 changed files
with
89 additions
and
133 deletions.
There are no files selected for viewing
This file was deleted.
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
This file was deleted.
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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
name: '[deploy] Docker push Deepwell' | ||
name: '[deploy] Docker push Dokku' | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
paths: | ||
- 'deepwell/**' | ||
- 'install/aws/dev/docker/api/**' | ||
- '.github/workflows/docker-build-push-api.dev.yaml' | ||
- 'framerail/**' | ||
- 'install/dev/dokku/Dockerfile' | ||
- '.github/workflows/docker-build-push-dokku.dev.yaml' | ||
|
||
jobs: | ||
build: | ||
|
@@ -22,5 +23,5 @@ jobs: | |
uses: dokku/github-action@master | ||
with: | ||
ssh_private_key: ${{ secrets.DOKKU_DEPLOY_KEY }} | ||
git_remote_url: 'ssh://[email protected]:22/deepwell' | ||
git_remote_url: 'ssh://[email protected]:22/wikijump' | ||
git_push_flags: --force --verbose |
This file was deleted.
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,2 @@ | ||
web: /usr/bin/node /app/framerail/build | ||
api: /usr/local/bin/deepwell /etc/deepwell.toml |
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,36 @@ | ||
{ | ||
"healthchecks": { | ||
"web": [ | ||
{ | ||
"type": "startup", | ||
"name": "framerail-init", | ||
"description": "Checks if the web server has started", | ||
"port": 3000, | ||
"attempts": 3 | ||
}, | ||
{ | ||
"type": "liveness", | ||
"name": "framerail-healthy", | ||
"description": "Checks if the web server can start serving requests", | ||
"command": ["curl", "-If", "http://localhost:3000/"], | ||
"attempts": 3 | ||
} | ||
], | ||
"api": [ | ||
{ | ||
"type": "startup", | ||
"name": "deepwell-init", | ||
"description": "Checks if API server has started", | ||
"port": 2747, | ||
"attempts": 3 | ||
}, | ||
{ | ||
"type": "liveness", | ||
"name": "deepwelly-healthy", | ||
"description": "Checks if the API server can accept requests", | ||
"command": ["/bin/deepwell-health-check"], | ||
"attempts": 3 | ||
} | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
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,4 +1,4 @@ | ||
FROM postgres:14-alpine | ||
FROM postgres:16-alpine | ||
|
||
EXPOSE 5432 | ||
|
||
|
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,4 +1,4 @@ | ||
FROM postgres:14-alpine | ||
FROM postgres:16-alpine | ||
|
||
EXPOSE 5432 | ||
|
||
|