Some Docker updates

This commit is contained in:
Simon-Martens
2025-03-02 14:59:11 +01:00
parent 180d3f8756
commit e43066fcf8
3 changed files with 12 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ WORKDIR /app
COPY . . COPY . .
RUN go build -tags=sqlite_fts5,sqlite_json,sqlite_foreign_keys,sqlite_vtable,sqlite_math_functions RUN go build -tags=sqlite_fts5,sqlite_json,sqlite_foreign_keys,sqlite_vtable,sqlite_math_functions
EXPOSE 8080 EXPOSE 8090
CMD ["./scripts/run.sh"] CMD ["./scripts/run.sh"]

10
docker-compose.yml Normal file
View File

@@ -0,0 +1,10 @@
name: musenalm
services:
all:
build: .
ports:
- "8090:8090"
volumes:
- ma:/app/data
volumes:
ma:

View File

@@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
./musenalm serve --http=0.0.0.0:8080 --dir=/app/data/pb_data ./musenalm serve --http=0.0.0.0:8090 --dir=/app/data/pb_data