2025-08-09 22:00:10 +02:00
|
|
|
name: labrinth
|
2020-06-30 19:23:52 +02:00
|
|
|
services:
|
2020-07-23 22:46:33 +02:00
|
|
|
postgres_db:
|
|
|
|
|
image: postgres:alpine
|
2025-08-09 22:00:10 +02:00
|
|
|
container_name: labrinth-postgres
|
2020-06-30 19:23:52 +02:00
|
|
|
volumes:
|
2020-07-23 22:46:33 +02:00
|
|
|
- db-data:/var/lib/postgresql/data
|
2020-06-30 19:23:52 +02:00
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:5432:5432'
|
2020-06-30 19:23:52 +02:00
|
|
|
environment:
|
2020-07-23 22:46:33 +02:00
|
|
|
POSTGRES_USER: labrinth
|
2020-08-28 17:48:01 +02:00
|
|
|
POSTGRES_PASSWORD: labrinth
|
2020-07-23 22:46:33 +02:00
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
2025-06-13 23:34:40 +02:00
|
|
|
healthcheck:
|
2025-11-08 15:27:31 -08:00
|
|
|
test: ['CMD', 'pg_isready']
|
2025-06-13 23:34:40 +02:00
|
|
|
interval: 3s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
2020-06-30 19:23:52 +02:00
|
|
|
meilisearch:
|
2024-12-30 20:55:37 -07:00
|
|
|
image: getmeili/meilisearch:v1.12.0
|
2025-08-09 22:00:10 +02:00
|
|
|
container_name: labrinth-meilisearch
|
2020-06-30 19:23:52 +02:00
|
|
|
restart: on-failure
|
|
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:7700:7700'
|
2020-06-30 19:23:52 +02:00
|
|
|
volumes:
|
2023-12-12 21:04:40 -07:00
|
|
|
- meilisearch-data:/data.ms
|
2020-10-19 14:23:05 -07:00
|
|
|
environment:
|
|
|
|
|
MEILI_MASTER_KEY: modrinth
|
2024-01-13 18:20:28 -05:00
|
|
|
MEILI_HTTP_PAYLOAD_SIZE_LIMIT: 107374182400
|
2025-06-13 23:34:40 +02:00
|
|
|
healthcheck:
|
2025-11-08 15:27:31 -08:00
|
|
|
test: ['CMD', 'curl', '--fail', 'http://localhost:7700/health']
|
2025-06-13 23:34:40 +02:00
|
|
|
interval: 3s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
2023-07-07 12:20:16 -07:00
|
|
|
redis:
|
|
|
|
|
image: redis:alpine
|
2025-08-09 22:00:10 +02:00
|
|
|
container_name: labrinth-redis
|
2023-07-07 12:20:16 -07:00
|
|
|
restart: on-failure
|
|
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:6379:6379'
|
2023-07-07 12:20:16 -07:00
|
|
|
volumes:
|
|
|
|
|
- redis-data:/data
|
2025-06-13 23:34:40 +02:00
|
|
|
healthcheck:
|
2025-11-08 15:27:31 -08:00
|
|
|
test: ['CMD', 'redis-cli', 'PING']
|
2025-06-13 23:34:40 +02:00
|
|
|
interval: 3s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
2023-08-02 14:43:04 -07:00
|
|
|
clickhouse:
|
|
|
|
|
image: clickhouse/clickhouse-server
|
2025-08-09 22:00:10 +02:00
|
|
|
container_name: labrinth-clickhouse
|
2023-08-02 14:43:04 -07:00
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:8123:8123'
|
2025-04-21 17:44:24 +02:00
|
|
|
environment:
|
|
|
|
|
CLICKHOUSE_USER: default
|
|
|
|
|
CLICKHOUSE_PASSWORD: default
|
2025-06-13 23:34:40 +02:00
|
|
|
healthcheck:
|
2025-11-08 15:27:31 -08:00
|
|
|
test: ['CMD-SHELL', 'clickhouse-client --query "SELECT 1"']
|
2025-06-13 23:34:40 +02:00
|
|
|
interval: 3s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
2025-08-10 01:12:15 +02:00
|
|
|
mail:
|
|
|
|
|
image: axllent/mailpit:v1.27
|
|
|
|
|
container_name: labrinth-mail
|
|
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:1025:1025'
|
|
|
|
|
- '127.0.0.1:8025:8025'
|
2025-08-10 01:12:15 +02:00
|
|
|
environment:
|
|
|
|
|
MP_ENABLE_SPAMASSASSIN: postmark
|
|
|
|
|
healthcheck:
|
2025-11-08 15:27:31 -08:00
|
|
|
test:
|
|
|
|
|
[
|
|
|
|
|
'CMD',
|
|
|
|
|
'wget',
|
|
|
|
|
'-q',
|
|
|
|
|
'-O/dev/null',
|
|
|
|
|
'http://localhost:8025/api/v1/info',
|
|
|
|
|
]
|
2025-08-10 01:12:15 +02:00
|
|
|
interval: 3s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 3
|
2025-10-20 00:56:26 +01:00
|
|
|
gotenberg:
|
|
|
|
|
image: gotenberg/gotenberg:8
|
|
|
|
|
container_name: labrinth-gotenberg
|
|
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:13000:3000'
|
2025-11-08 15:27:31 -08:00
|
|
|
extra_hosts:
|
|
|
|
|
# Gotenberg must send a message on a webhook to our backend,
|
|
|
|
|
# so it must have access to our local network
|
|
|
|
|
- 'host.docker.internal:host-gateway'
|
2025-08-09 23:04:31 +02:00
|
|
|
labrinth:
|
|
|
|
|
profiles:
|
|
|
|
|
- with-labrinth
|
|
|
|
|
build:
|
|
|
|
|
context: .
|
|
|
|
|
dockerfile: ./apps/labrinth/Dockerfile
|
|
|
|
|
container_name: labrinth
|
|
|
|
|
ports:
|
2025-11-21 11:13:11 +00:00
|
|
|
- '127.0.0.1:8000:8000'
|
2025-08-09 23:04:31 +02:00
|
|
|
env_file: ./apps/labrinth/.env.docker-compose
|
|
|
|
|
volumes:
|
|
|
|
|
- labrinth-cdn-data:/tmp/modrinth
|
|
|
|
|
depends_on:
|
|
|
|
|
postgres_db:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
meilisearch:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
redis:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
clickhouse:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
mail:
|
|
|
|
|
condition: service_healthy
|
|
|
|
|
develop:
|
|
|
|
|
watch:
|
|
|
|
|
- path: ./apps/labrinth
|
|
|
|
|
action: rebuild
|
2020-06-30 19:23:52 +02:00
|
|
|
volumes:
|
|
|
|
|
meilisearch-data:
|
2020-07-23 22:46:33 +02:00
|
|
|
db-data:
|
App redesign (#2946)
* Start of app redesign
* format
* continue progress
* Content page nearly done
* Fix recursion issues with content page
* Fix update all alignment
* Discover page progress
* Settings progress
* Removed unlocked-size hack that breaks web
* Revamp project page, refactor web project page to share code with app, fixed loading bar, misc UI/UX enhancements, update ko-fi logo, update arrow icons, fix web issues caused by floating-vue migration, fix tooltip issues, update web tooltips, clean up web hydration issues
* Ads + run prettier
* Begin auth refactor, move common messages to ui lib, add i18n extraction to all apps, begin Library refactor
* fix ads not hiding when plus log in
* rev lockfile changes/conflicts
* Fix sign in page
* Add generated
* (mostly) Data driven search
* Fix search mobile issue
* profile fixes
* Project versions page, fix typescript on UI lib and misc fixes
* Remove unused gallery component
* Fix linkfunction err
* Search filter controls at top, localization for locked filters
* Fix provided filter names
* Fix navigating from instance browse to main browse
* Friends frontend (#2995)
* Friends system frontend
* (almost) finish frontend
* finish friends, fix lint
* Fix lint
---------
Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
* Refresh macOS app icon
* Update web search UI more
* Fix link opens
* Fix frontend build
---------
Signed-off-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2024-12-11 19:54:18 -08:00
|
|
|
redis-data:
|
2025-08-09 23:04:31 +02:00
|
|
|
labrinth-cdn-data:
|