Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/official-site/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ FROM lovasoa/sqlpage:main

ENV SQLPAGE_CONFIGURATION_DIRECTORY=/var/www/sqlpage
COPY --chown=sqlpage:sqlpage . /var/www

# Require the packaged catalog even when the deployment sets a database URL.
CMD ["/usr/bin/env", "SQLPAGE_DATABASE_URL=sqlite:///var/www/sqlpage/sqlpage.db?mode=rw", "/usr/local/bin/sqlpage"]
20 changes: 20 additions & 0 deletions examples/official-site/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"healthchecks": {
"web": [
{
"type": "startup",
"name": "Homepage",
"port": 8080,
"path": "/",
"content": "/assets/landing/js/main.js"
},
{
"type": "startup",
"name": "Example projects",
"port": 8080,
"path": "/examples/",
"content": "Developer UI"
}
]
}
}
1 change: 1 addition & 0 deletions examples/official-site/test.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ HTTP 200
[Asserts]
body contains "Developer UI"
body not contains "Roundest Pokemon"
body not contains "An error occurred"

GET http://localhost:8080/not-a-real-doc-page
HTTP 404
Expand Down
Loading