mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-11-28 08:14:52 +03:00
App Submission: Public Pool's Web (#3159)
Co-authored-by: Martin Barilík <martinko5mb@proton.me> Co-authored-by: al-lac <lackner.alex@gmail.com>
This commit is contained in:
5 files changed
+111
No files matched your search
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,58 @@
|
||||
services:
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: public-pool-web_rails-app_1
|
||||
APP_PORT: 3000
|
||||
|
||||
rails-app:
|
||||
image: martinbarilik/public-pool-web:0.0.7@sha256:351eb51b65953f60dda44d367fa092b48d387eaccc425d99f8ee8d0d7ea625a4
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- RAILS_MASTER_KEY=${APP_PUBLIC_POOL_WEB_MASTER_KEY}
|
||||
- DATABASE_URL=${APP_PUBLIC_POOL_WEB_DATABASE_URL}
|
||||
- REDIS_URL=${APP_PUBLIC_POOL_WEB_REDIS_URL}
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
|
||||
db:
|
||||
image: postgres:17.4@sha256:304ab813518754228f9f792f79d6da36359b82d8ecf418096c636725f8c930ad
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- POSTGRES_USER=${APP_PUBLIC_POOL_WEB_POSTGRES_USERNAME}
|
||||
- POSTGRES_PASSWORD=${APP_PUBLIC_POOL_WEB_POSTGRES_PASSWORD}
|
||||
- POSTGRES_DB=${APP_PUBLIC_POOL_WEB_POSTGRES_DBNAME}
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${APP_PUBLIC_POOL_WEB_POSTGRES_USERNAME} -d ${APP_PUBLIC_POOL_WEB_POSTGRES_DBNAME}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
redis:
|
||||
image: redis:7.4.2@sha256:fbdbaea47b9ae4ecc2082ecdb4e1cea81e32176ffb1dcf643d422ad07427e5d9
|
||||
user: "1000:1000"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "redis-cli ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/redis:/data
|
||||
|
||||
sidekiq:
|
||||
image: martinbarilik/public-pool-web:0.0.7@sha256:351eb51b65953f60dda44d367fa092b48d387eaccc425d99f8ee8d0d7ea625a4
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- RAILS_MASTER_KEY=${APP_PUBLIC_POOL_WEB_MASTER_KEY}
|
||||
- REDIS_URL=${APP_PUBLIC_POOL_WEB_REDIS_URL}
|
||||
- DATABASE_URL=${APP_PUBLIC_POOL_WEB_DATABASE_URL}
|
||||
command: bundle exec sidekiq
|
||||
depends_on:
|
||||
- redis
|
||||
- db
|
||||
- rails-app
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
export APP_PUBLIC_POOL_WEB_POSTGRES_USERNAME="public_pool_web"
|
||||
export APP_PUBLIC_POOL_WEB_POSTGRES_PASSWORD="SlyRoundaboutWay"
|
||||
export APP_PUBLIC_POOL_WEB_POSTGRES_PORT="5432"
|
||||
export APP_PUBLIC_POOL_WEB_POSTGRES_DBNAME="public_pool_web_production"
|
||||
# URL encode underscores (%5F) in hostname to satisfy strict URI parsing
|
||||
export APP_PUBLIC_POOL_WEB_POSTGRES_HOST="public-pool-web%5Fdb%5F1"
|
||||
export APP_PUBLIC_POOL_WEB_DATABASE_URL="postgres://${APP_PUBLIC_POOL_WEB_POSTGRES_USERNAME}:${APP_PUBLIC_POOL_WEB_POSTGRES_PASSWORD}@${APP_PUBLIC_POOL_WEB_POSTGRES_HOST}:${APP_PUBLIC_POOL_WEB_POSTGRES_PORT}/${APP_PUBLIC_POOL_WEB_POSTGRES_DBNAME}"
|
||||
export APP_PUBLIC_POOL_WEB_REDIS_URL="redis://public-pool-web_redis_1:6379/0"
|
||||
export APP_PUBLIC_POOL_WEB_MASTER_KEY="dbd1d33e19a5e0ca9b28c2c55803afef"
|
||||
@@ -0,0 +1,44 @@
|
||||
manifestVersion: 1
|
||||
id: public-pool-web
|
||||
category: finance
|
||||
name: Public Pool's Web
|
||||
version: "0.0.7"
|
||||
tagline: Modern web interface for managing your Public Pool's data
|
||||
description: >
|
||||
Public Pool's Web provides a sleek, user-friendly interface for managing and monitoring
|
||||
your Public Pool's data.
|
||||
|
||||
|
||||
Built with Rails 8.0 and modern web technologies, it offers
|
||||
real-time updates, detailed analytics, and comprehensive pool management features.
|
||||
|
||||
|
||||
Features:
|
||||
- Add user
|
||||
- Add worker
|
||||
- Change theme
|
||||
- Sidekiq web interface ( to check background jobs, usually you do not mess with it )
|
||||
|
||||
|
||||
⚠️ Notes:
|
||||
- Change host IP ( and port is needed ) of your pool. ( Public Pool doesn't expose its IP yet )
|
||||
- If you change host IP and port of the pool, restart the application in umbrel OS. Otherwise, sidekiq will not see them.
|
||||
|
||||
|
||||
This is a hobby project!
|
||||
developer: martinbarilik
|
||||
website: https://github.com/martinbarilik/public-pool-web
|
||||
dependencies:
|
||||
- public-pool
|
||||
repo: https://github.com/martinbarilik/public-pool-web
|
||||
support: https://github.com/martinbarilik/public-pool-web/discussions
|
||||
port: 2021
|
||||
gallery:
|
||||
- 1.jpg
|
||||
- 2.jpg
|
||||
- 3.jpg
|
||||
path: "/"
|
||||
defaultUsername: ""
|
||||
defaultPassword: ""
|
||||
submitter: "martinbarilik"
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/3159
|
||||
Reference in new issue
Block a user