fix
This commit is contained in:
parent
b00424471c
commit
02b9e34258
2 changed files with 13 additions and 13 deletions
|
@ -1,17 +1,17 @@
|
|||
version: '3'
|
||||
services:
|
||||
# synthwave:
|
||||
# build: .
|
||||
# ports:
|
||||
# - "8080:8080"
|
||||
# depends_on:
|
||||
# - mongodb
|
||||
# volumes:
|
||||
# - ./data:/data
|
||||
# - ./media:/media
|
||||
# environment:
|
||||
# - "DB_URI=mongodb://user:pass@mongodb:27017"
|
||||
# - "DB=synthwrld"
|
||||
synthwave:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- mongodb
|
||||
volumes:
|
||||
- ./data:/data # Runtime data (optional)
|
||||
- ./media:/media # Audio files
|
||||
environment:
|
||||
- "DB_URI=mongodb://user:pass@mongodb:27017"
|
||||
- "DB=synthwrld"
|
||||
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
|
@ -22,4 +22,3 @@ services:
|
|||
MONGO_INITDB_ROOT_PASSWORD: pass
|
||||
volumes:
|
||||
- ./db:/data/db
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ def print_metadata(file_path):
|
|||
|
||||
except Exception as e:
|
||||
print(json.dumps({"error": str(e)}))
|
||||
exit(1)
|
||||
|
||||
if __name__ == "__main__":
|
||||
if len(sys.argv) != 2:
|
||||
|
|
Loading…
Reference in a new issue