Skip to content

Commit 4eeb7ee

Browse files
authored
Merge pull request coollabsio#3570 from katywings/nitropage
chore: add Nitropage service template and logo
2 parents 5181346 + 2cf0f4f commit 4eeb7ee

File tree

3 files changed

+66
-0
lines changed

3 files changed

+66
-0
lines changed

public/svgs/nitropage.svg

Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# documentation: https://nitropage.com
2+
# slogan: Nitropage is an extensible visual website builder, offering a growing collection of versatile building blocks, focal-point image cropping and sovereign font management.
3+
# tags: nitropage, builder, editor, wysiwyg, cms, content, management
4+
# logo: svgs/nitropage.svg
5+
# port: 3000
6+
7+
services:
8+
nitropage:
9+
image: codeberg.org/nitropage/nitropage
10+
environment:
11+
- SERVICE_FQDN_NITROPAGE_3000
12+
- NP_AUTH_SALT=${SERVICE_BASE64_SALT}
13+
- NP_AUTH_PASSWORD=${SERVICE_PASSWORD_64_SESSION}
14+
- DATABASE_URL=postgresql://${SERVICE_USER_POSTGRESQL}:${SERVICE_PASSWORD_POSTGRESQL}@postgresql:5432/${POSTGRESQL_DATABASE:-nitropage}
15+
volumes:
16+
- nitropage-data:/app/.data
17+
depends_on:
18+
postgresql:
19+
condition: service_healthy
20+
healthcheck:
21+
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/admin"]
22+
interval: 2s
23+
timeout: 10s
24+
retries: 15
25+
postgresql:
26+
image: postgres:16-alpine
27+
volumes:
28+
- nitropage-postgresql-data:/var/lib/postgresql/data
29+
environment:
30+
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
31+
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
32+
- POSTGRES_DB=${POSTGRESQL_DATABASE:-nitropage}
33+
healthcheck:
34+
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
35+
interval: 5s
36+
timeout: 20s
37+
retries: 10

templates/compose/nitropage.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# documentation: https://nitropage.com
2+
# slogan: Nitropage is an extensible visual website builder, offering a growing collection of versatile building blocks, focal-point image cropping and sovereign font management.
3+
# tags: nitropage, builder, editor, wysiwyg, cms, content, management
4+
# logo: svgs/nitropage.svg
5+
# port: 3000
6+
7+
services:
8+
nitropage:
9+
image: codeberg.org/nitropage/nitropage:sqlite
10+
environment:
11+
- SERVICE_FQDN_NITROPAGE_3000
12+
- NP_AUTH_SALT=${SERVICE_BASE64_SALT}
13+
- NP_AUTH_PASSWORD=${SERVICE_PASSWORD_64_SESSION}
14+
- DATABASE_URL=file:../../.data/dev.db
15+
volumes:
16+
- nitropage-data:/app/.data
17+
healthcheck:
18+
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/admin"]
19+
interval: 2s
20+
timeout: 10s
21+
retries: 15

0 commit comments

Comments
 (0)