4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

jpsonicをDockerでセットアップ

Last updated at Posted at 2019-07-12

自分用メモ

#準備

作業ディレクトリに移動後

mkdir jpsonic
cd jpsonic
mkdir -p install/target/dependency

https://github.com/tesshucom/jpsonic/releases
から最新版のjpsonic.warをゲットして、install/target/dependency/にコピー。

https://github.com/tesshucom/jpsonic/tree/master/install/docker
にあるファイル一式をinstall/にコピー

#docker-compose

docker-compose.yml
version: '2'

services:
  web:
    build: "./install"
    restart: always
    ports:
      - 4040:4040
    volumes:
      - ./music:/jpsonic/music
      - ./playlists:/jpsonic/playlists
      - ./podcasts:/jpsonic/podcasts
      - ./data:/jpsonic/data
    environment:
      - JAVA_OPTS="-Xmx512m"
    networks:
      - test-network

networks:
  test-network:
    external: true

#参考URL
JpsonicをDockerで動かす
https://soryumi.liliso.com/archives/3698

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?