Skip to content

Commit

Permalink
Cleanup docker configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewCarlson committed Mar 26, 2022
1 parent 376cd94 commit e73e35a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ WORKDIR /app
COPY --from=0 /build-project/anystream-server/server-app/build/install ./install/
COPY --from=0 /build-project/anystream-client-web/build/distributions ./client-web/

ENTRYPOINT ["./install/anystream-server-shadow/bin/anystream-server"]
ENV STORAGE_PATH=/app/storage/
ENV DATABASE_URL=sqlite:/app/storage/config/anystream.db
ENV FFMPEG_PATH=/usr/bin
ENV WEB_CLIENT_PATH=/app/client-web
ENV PORT=8888

ENTRYPOINT ["./install/server-app-shadow/bin/server-app"]
8 changes: 7 additions & 1 deletion Dockerfile-local
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@ WORKDIR /app
COPY anystream-server/server-app/build/install ./install/
COPY anystream-client-web/build/distributions ./client-web/

ENTRYPOINT ["./install/anystream-server-shadow/bin/anystream-server"]
ENV STORAGE_PATH=/app/storage/
ENV DATABASE_URL=sqlite:/app/storage/config/anystream.db
ENV FFMPEG_PATH=/usr/bin
ENV WEB_CLIENT_PATH=/app/client-web
ENV PORT=8888

ENTRYPOINT ["./install/server-app-shadow/bin/server-app"]
14 changes: 6 additions & 8 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ services:
container_name: anystream
image: ghcr.io/drewcarlson/anystream:main
restart: unless-stopped
command: >
./install/anystream-server-shadow/bin/anystream-server
-P:app.ffmpegPath=/usr/bin
-P:app.webClientPath=/app/client-web
-P:app.databaseUrl=sqlite:/app/config/anystream.db
-P:app.qbittorrentUrl=http://qbittorrent:9090
-port=8888
ports:
- "8888:8888"
environment:
PORT: 8888
QBT_URL: http://qbittorrent:9090
QBT_USER: admin
QBT_PASSWORD: adminadmin
volumes:
- ./anystream-config:/config
- ./anystream-storage:/app/storage
- ./qbittorrent/content:/content
- ./qbittorrent/downloads:/downloads
links:
Expand Down

0 comments on commit e73e35a

Please sign in to comment.