Merge branch 'services' into next

This commit is contained in:
🏔️ Peak
2024-11-08 14:50:43 +01:00
committed by GitHub
215 changed files with 7157 additions and 3071 deletions

View File

@@ -0,0 +1,23 @@
# documentation: https://github.com/jlesage/docker-firefox
# slogan: Fast, private, and self-hosted secure browser for browsing without limits.
# tags: browser, web, privacy
# logo: svgs/firefox.svg
# port: 5800
services:
firefox:
image: jlesage/firefox
environment:
- SERVICE_FQDN_FIREFOX_5800
volumes:
- firefox_config:/config
healthcheck:
test:
- CMD
- wget
- "-q"
- "--spider"
- "http://127.0.0.1:5800/"
interval: 5s
timeout: 20s
retries: 10

View File

@@ -0,0 +1,44 @@
# documentation: https://docs.hoarder.app/
# slogan: an open source "Bookmark Everything" app that uses AI for automatically tagging the content you throw at it.
# tags: media,read-it-later,pocket-alternative,omnivore-alternative,instapaper-alternative
# logo: svgs/hoarder.svg
# port: 3000
services:
web:
image: ghcr.io/hoarder-app/hoarder:release
volumes:
- hoarder-data:/data
environment:
- SERVICE_FQDN_HOARDER
- NEXTAUTH_SECRET=${SERVICE_PASSWORD_HOARDERNEXTAUTH}
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- NEXTAUTH_URL=${SERVICE_FQDN_HOARDER}
- MEILI_ADDR=http://meilisearch:7700
- BROWSER_WEB_URL=http://chrome:9222
- DATA_DIR=/data
chrome:
image: gcr.io/zenika-hub/alpine-chrome:124
command:
- '--no-sandbox'
- '--disable-gpu'
- '--disable-dev-shm-usage'
- '--remote-debugging-address=0.0.0.0'
- '--remote-debugging-port=9222'
- '--hide-scrollbars'
meilisearch:
image: getmeili/meilisearch:v1.6
environment:
- MEILI_NO_ANALYTICS=${MEILI_NO_ANALYTICS:-true}
- NEXTAUTH_SECRET=${SERVICE_PASSWORD_HOARDERNEXTAUTH}
- MEILI_MASTER_KEY=${SERVICE_PASSWORD_MEILI}
- NEXTAUTH_URL=${SERVICE_FQDN_HOARDER}
volumes:
- hoarder-meilisearch:/meili_data
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:7700/health"]
interval: 2s
timeout: 10s
retries: 15

View File

@@ -15,8 +15,6 @@ services:
- LISTMONK_db__user=$SERVICE_USER_POSTGRES
- LISTMONK_db__password=$SERVICE_PASSWORD_POSTGRES
- LISTMONK_db__port=5432
- LISTMONK_app__admin_username=admin
- LISTMONK_app__admin_password=$SERVICE_PASSWORD_ADMIN
- TZ=Etc/UTC
volumes:
- "listmonk-data:/listmonk/uploads"

View File

@@ -1,13 +1,13 @@
# ignore: true
# documentation: https://docs.postiz.com/introduction
# slogan:
# tags:
# logo:
# documentation: https://docs.postiz.com
# slogan: Open source social media scheduling tool.
# tags: post everywhere, social media, planning
# logo: svgs/postiz.svg
# port: 5000
services:
postiz:
image: "ghcr.io/gitroomhq/postiz-app:latest"
image: ghcr.io/gitroomhq/postiz-app:latest
environment:
- SERVICE_FQDN_POSTIZ_5000
- MAIN_URL=${SERVICE_FQDN_POSTIZ}
@@ -18,20 +18,57 @@ services:
- REDIS_URL=redis://redis:6379
- BACKEND_INTERNAL_URL=http://localhost:3000/
- IS_GENERAL=true
- CLOUDFLARE_ACCOUNT_ID=${CLOUDFLARE_ACCOUNT_ID}
- CLOUDFLARE_ACCESS_KEY=${CLOUDFLARE_ACCESS_KEY}
- CLOUDFLARE_SECRET_ACCESS_KEY=${CLOUDFLARE_SECRET_ACCESS_KEY}
- CLOUDFLARE_BUCKETNAME=${CLOUDFLARE_BUCKETNAME}
- CLOUDFLARE_BUCKET_URL=${CLOUDFLARE_BUCKET_URL}
- CLOUDFLARE_REGION=${CLOUDFLARE_REGION}
- RESEND_API_KEY=${RESEND_API_KEY}
- EMAIL_FROM_ADDRESS=${EMAIL_FROM_ADDRESS}
- EMAIL_FROM_NAME=${EMAIL_FROM_NAME}
- STORAGE_PROVIDER=local
- UPLOAD_DIRECTORY=/uploads
- NEXT_PUBLIC_UPLOAD_DIRECTORY=/uploads
- X_API_KEY=${SERVICE_X_API}
- X_API_SECRET=${SERVICE_X_SECRET}
- REDDIT_CLIENT_ID=${SERVICE_REDDIT_API}
- REDDIT_CLIENT_SECRET=${SERVICE_REDDIT_SECRET}
- TIKTOK_CLIENT_ID=${SERVICE_TIKTOK_ID}
- TIKTOK_CLIENT_SECRET=${SERVICE_TIKTOK_SECRET}
- SLACK_ID=${SERVICE_SLACK_ID}
- SLACK_SECRET=${SERVICE_SLACK_SECRET}
- PINTEREST_CLIENT_ID=${SERVICE_PINTEREST_ID}
- PINTEREST_CLIENT_SECRET=${SERVICE_PINTEREST_SECRET}
- DRIBBLE_CLIENT_ID=${SERVICE_DRIBBLE_ID}
- DRIBBLE_CLIENT_SECRET=${SERVICE_DRIBBLE_SECRET}
- DISCORD_CLIENT_ID=${SERVICE_DISCORD_ID}
- DISCORD_CLIENT_SECRET=${SERVICE_DISCORD_SECRET}
- DISCORD_BOT_TOKEN_ID=${SERVICE_DISCORD_TOKEN}
- YOUTUBE_CLIENT_ID=${SERVICE_YOUTUBE_ID}
- YOUTUBE_CLIENT_SECRET=${SERVICE_YOUTUBE_SECRET}
- MASTODON_CLIENT_ID=${SERVICE_MASTODON_ID}
- MASTODON_CLIENT_SECRET=${SERVICE_MASTODON_SECRET}
- LINKEDIN_CLIENT_ID=${SERVICE_LINKEDIN_ID}
- LINKEDIN_CLIENT_SECRET=${SERVICE_LINKEDIN_SECRET}
- INSTAGRAM_APP_ID=${SERVICE_INSTAGRAM_ID}
- INSTAGRAM_APP_SECRET=${SERVICE_INSTAGRAM_SECRET}
- FACEBOOK_APP_ID=${SERVICE_FACEBOOK_ID}
- FACEBOOK_APP_SECRET=${SERVICE_FACEBOOK_SECRET}
- THREADS_APP_ID=${SERVICE_THREADS_ID}
- THREADS_APP_SECRET=${SERVICE_THREADS_SECRET}
- GITHUB_CLIENT_ID=${SERVICE_GITHUB_ID}
- GITHUB_CLIENT_SECRET=${SERVICE_GITHUB_SECRET}
- BEEHIIVE_API_KEY=${SERVICE_BEEHIIVE_KEY}
- BEEHIIVE_PUBLICATION_ID=${SERVICE_BEEHIIVE_PUBID}
- OPENAI_API_KEY=${SERVICE_OPENAI_KEY}
volumes:
- postiz-config:/config/
- postiz-uploads:/uploads/
depends_on:
postgres:
postiz-postgres:
condition: service_healthy
redis:
condition: service_started
postiz-redis:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:5000/"]
interval: 5s
timeout: 20s
retries: 10
postiz-postgres:
image: postgres:14.5
volumes:
- 'postiz_config:/config'
- 'postiz_uploads:/uploads'
@@ -42,24 +79,26 @@ services:
retries: 10
postgres:
image: "postgres:latest"
- postiz-postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=${POSTGRES_DB:-postiz}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
volumes:
- "pg-data:/var/lib/postgresql/data"
- POSTGRES_USER=${SERVICE_USER_POSTGRESQL}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRESQL}
- POSTGRES_DB=${POSTGRESQL_DATABASE:-postiz-db}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10
redis:
image: "redis:7.2"
postiz-redis:
image: redis:7.2
volumes:
- "redis_data:/data"
- postiz-redis-data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test:
- CMD
- redis-cli
- PING
interval: 5s
timeout: 20s
retries: 10
timeout: 10s
retries: 20

View File

@@ -0,0 +1,24 @@
# documentation: https://readeck.org/en/docs/
# slogan: Simple web application that lets you save the precious readable content of web pages you like and want to keep forever.
# tags: read-it-later,pocket-alternative,omnivore-alternative,instapaper-alternative
# logo: svgs/readeck.svg
# port: 8000
services:
readeck:
image: codeberg.org/readeck/readeck:latest
environment:
- SERVICE_FQDN_READECK
- READECK_USE_X_FORWARDED=${READECK_USE_X_FORWARDED:-true}
volumes:
- readeck_data:/readeck
healthcheck:
test:
- CMD
- /bin/readeck
- healthcheck
- '-config'
- config.toml
interval: 30s
timeout: 2s
retries: 3

View File

@@ -0,0 +1,37 @@
# documentation: https://docs.requarks.io
# slogan: The most powerful and extensible open source Wiki software.
# tags: wiki, collaboration, documentation
# logo: svgs/wikijs.svg
# port: 80
services:
wikijs:
image: ghcr.io/requarks/wiki:2
depends_on:
- postgres
environment:
- SERVICE_FQDN_WIKIJS_3000
- DB_TYPE=postgres
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=${SERVICE_USER_POSTGRES}
- DB_PASS=${SERVICE_PASSWORD_POSTGRES}
- DB_NAME=${POSTGRESQL_DATABASE:-wiki-db}
healthcheck:
test: curl --fail http://localhost:3000 || exit 1
postgres:
image: postgres:16-alpine
environment:
- POSTGRES_DB=${POSTGRESQL_DATABASE:-wiki-db}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10
logging:
driver: none
volumes:
- wikijs-postgresql-data:/var/lib/postgresql/data