This commit is contained in:
JMARyA 2024-10-02 13:11:30 +02:00
parent b00424471c
commit 02b9e34258
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
2 changed files with 13 additions and 13 deletions

View file

@ -1,17 +1,17 @@
version: '3' version: '3'
services: services:
# synthwave: synthwave:
# build: . build: .
# ports: ports:
# - "8080:8080" - "8080:8080"
# depends_on: depends_on:
# - mongodb - mongodb
# volumes: volumes:
# - ./data:/data - ./data:/data # Runtime data (optional)
# - ./media:/media - ./media:/media # Audio files
# environment: environment:
# - "DB_URI=mongodb://user:pass@mongodb:27017" - "DB_URI=mongodb://user:pass@mongodb:27017"
# - "DB=synthwrld" - "DB=synthwrld"
mongodb: mongodb:
image: mongo:latest image: mongo:latest
@ -22,4 +22,3 @@ services:
MONGO_INITDB_ROOT_PASSWORD: pass MONGO_INITDB_ROOT_PASSWORD: pass
volumes: volumes:
- ./db:/data/db - ./db:/data/db

View file

@ -25,6 +25,7 @@ def print_metadata(file_path):
except Exception as e: except Exception as e:
print(json.dumps({"error": str(e)})) print(json.dumps({"error": str(e)}))
exit(1)
if __name__ == "__main__": if __name__ == "__main__":
if len(sys.argv) != 2: if len(sys.argv) != 2: