mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-28 16:55:32 +00:00
Some Docker updates
This commit is contained in:
@@ -3,7 +3,7 @@ WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN go build -tags=sqlite_fts5,sqlite_json,sqlite_foreign_keys,sqlite_vtable,sqlite_math_functions
|
||||
EXPOSE 8080
|
||||
EXPOSE 8090
|
||||
|
||||
|
||||
CMD ["./scripts/run.sh"]
|
||||
|
||||
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: musenalm
|
||||
services:
|
||||
all:
|
||||
build: .
|
||||
ports:
|
||||
- "8090:8090"
|
||||
volumes:
|
||||
- ma:/app/data
|
||||
volumes:
|
||||
ma:
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user