fix: Fix compose volumes and dependencies.

This commit is contained in:
Elisiário Couto
2024-02-27 00:49:48 +00:00
parent 78b08c17ee
commit 460fed3ed0

View File

@@ -12,18 +12,19 @@ services:
# Uncomment the following lines if you use MongoDB # Uncomment the following lines if you use MongoDB
# LEGGEN_MONGO_URI: "mongodb://leggen:changeme@mongo:27017/leggen" # LEGGEN_MONGO_URI: "mongodb://leggen:changeme@mongo:27017/leggen"
volumes: volumes:
- "./leggen:/root" - "./leggen:/root/.config/leggen"
depends_on: - "./db:/app"
- mongo
nocodb: nocodb:
image: nocodb/nocodb:latest image: nocodb/nocodb:latest
restart: "unless-stopped" restart: "unless-stopped"
volumes: volumes:
- "./nocodb:/usr/app/data/" - "./nocodb:/usr/app/data/"
- "./leggen:/usr/leggen:ro" - "./db:/usr/leggen:ro"
ports: ports:
- "127.0.0.1:8080:8080" - "127.0.0.1:8080:8080"
depends_on:
- leggen
# Recommended: Run `leggen sync` every day. # Recommended: Run `leggen sync` every day.
ofelia: ofelia: