forked from didirus/AstralRinth
feat(labrinth): add config to run it with Compose, alongside services (#4153)
This commit is contained in:
committed by
GitHub
parent
58645b9ba9
commit
80eb297284
@@ -58,7 +58,35 @@ services:
|
||||
interval: 3s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
labrinth:
|
||||
profiles:
|
||||
- with-labrinth
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./apps/labrinth/Dockerfile
|
||||
container_name: labrinth
|
||||
ports:
|
||||
- '8000:8000'
|
||||
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
|
||||
volumes:
|
||||
meilisearch-data:
|
||||
db-data:
|
||||
redis-data:
|
||||
labrinth-cdn-data:
|
||||
|
||||
Reference in New Issue
Block a user