mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-18 17:34:22 +00:00
Merge ef71a970d9 into e51b06c159
This commit is contained in:
commit
36442ad9f5
2 changed files with 7 additions and 4 deletions
|
|
@ -19,6 +19,7 @@ WORKDIR /home/seek-tune
|
|||
|
||||
COPY server/go.mod server/go.sum ./
|
||||
RUN go mod download
|
||||
RUN apt-get update && apt-get install -y ffmpeg
|
||||
|
||||
COPY server/ ./
|
||||
ENV ENV=production
|
||||
|
|
@ -30,4 +31,4 @@ RUN go build -o seek-tune
|
|||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD [ "/home/seek-tune/seek-tune", "serve" ]
|
||||
CMD [ "/home/seek-tune/seek-tune", "serve" ]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
version: '3.1'
|
||||
version: "3.1"
|
||||
|
||||
volumes:
|
||||
seek-tune-db:
|
||||
|
|
@ -6,7 +6,7 @@ volumes:
|
|||
|
||||
services:
|
||||
seek-tune:
|
||||
image: 'seek-tune'
|
||||
image: "seek-tune"
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8080:5000
|
||||
|
|
@ -20,6 +20,8 @@ services:
|
|||
DB_PORT: ${DB_PORT:-27017}
|
||||
|
||||
REACT_APP_BACKEND_URL: ${REACT_APP_BACKEND_URL:-http://localhost:8080}
|
||||
SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID}
|
||||
SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET}
|
||||
|
||||
build:
|
||||
context: .
|
||||
|
|
@ -28,4 +30,4 @@ services:
|
|||
|
||||
volumes:
|
||||
- seek-tune-db:/home/seek-tune/db
|
||||
- seek-tune-songs:/home/seek-tune/songs
|
||||
- seek-tune-songs:/home/seek-tune/songs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue