Comments (5)
mysqlのボリュームは適切に設定していますでしょうか
from docker-mirakurun-epgstation.
以下が自分のdocker-compose.ymlです。
version: "3.7"
services:
mirakurun:
build:
context: ../
dockerfile: docker/Dockerfile
image: chinachu/mirakurun:latest
cap_add:
- SYS_ADMIN
- SYS_NICE
environment:
TZ: Asia/Tokyo
# LOG_LEVEL: "3"
# DEBUG: "true"
ports:
- xxxxx:40772
- xxxx:9229
devices:
- /dev/bus/usb/001/007:/dev/bus/usb/001/007
- /dev/bus/usb/001/006:/dev/bus/usb/001/006
volumes:
- /usr/local/mirakurun/run/:/var/run/
- /usr/local/mirakurun/opt/:/opt/
- /usr/local/mirakurun/config/:/app-config/
- /usr/local/mirakurun/data/:/app-data/
restart: always
logging:
driver: json-file
options:
max-file: "1"
max-size: 10m
chinachu:
build:
context: chinachu
args:
- REPOSITORY=git://github.com/Chinachu/Chinachu.git
- BRANCH=gamma
container_name: chinachu
ports:
- "xxxxx:10772"
- "xxxxx:20772"
volumes:
- /etc/localtime:/etc/localtime:ro
- ./chinachu/conf/config.json:/usr/local/chinachu/config.json
- ./chinachu/conf/rules.json:/usr/local/chinachu/rules.json
- ./chinachu/data:/usr/local/chinachu/data
- /mnt/hdd/recorded:/usr/local/chinachu/recorded
links:
- mirakurun:container-mirakurun
restart: always
mysql:
image: linuxserver/mariadb
volumes:
- mysql-db:/var/lib/mysql
environment:
MYSQL_USER: epgstation
MYSQL_PASSWORD: epgstation
MYSQL_ROOT_PASSWORD: epgstation
MYSQL_DATABASE: epgstation
TZ: "Asia/Tokyo"
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci --performance-schema=false --expire_logs_days=1
restart: always
logging:
options:
max-size: "10m"
max-file: "3"
epgstation:
build: epgstation
volumes:
- /etc/localtime:/etc/localtime:ro
- ./epgstation/config:/app/config
- ./epgstation/data:/app/data
- ./epgstation/thumbnail:/app/thumbnail
- ./epgstation/logs:/app/logs
- /mnt/hdd/recorded:/app/recorded
environment:
TZ: "Asia/Tokyo"
depends_on:
- mirakurun
- mysql
ports:
- "xxxx:8888"
# - "8889:8889"
#user: "1000:1000"
restart: always
volumes:
mysql-db:
driver: local
from docker-mirakurun-epgstation.
おそらくlinuxserver/mariadbへの変更が影響してると予想してます。
from docker-mirakurun-epgstation.
イメージが更新された際にボリュームがリセットされている模様です。
書かせていただいた当方の環境ではディレクトリにしていたため気づきませんでした。
mariadbのvolumeの個所を一旦./db:/var/lib/mysql
のようにディレクトリに設定をお願い致します。
from docker-mirakurun-epgstation.
イメージの変更に伴い/var/lib/mysql
を/config/databases
に変更する必要がありました。解決しましたので閉じます。
from docker-mirakurun-epgstation.
Related Issues (18)
- TimeZoneがセットされない HOT 1
- ffmpegのインストール HOT 3
- epgstationがRestartを繰り返す HOT 4
- ローカルに作成した旧環境(PM2使用)のデータベースを、新環境(Docker仕様)へのレストアについて HOT 2
- mariadb が 32 bit ARM (ARMv7/armhf)に対応していない HOT 1
- EPGStationが再起動を繰り返す HOT 3
- 「ルール画面」ルールが0件の際に追加ボタンが表示されない HOT 2
- config.json を更新する HOT 1
- dockerでインストールした際のdefault derectoryについて HOT 2
- エンコードが終わらない HOT 1
- EPGstationのコンテナだけnpmエラーで停止 HOT 2
- 【質問】「放映中」や「番組表」が取得できません。 HOT 2
- 録画ファイルが目的のディレクトリに保存されません。 HOT 2
- ストレージ情報取得失敗問題 HOT 1
- EPGStation v2のHTTPサーバーが起動しません HOT 4
- 【質問】docker環境における録画失敗のトラブルシューティングについて HOT 3
- DVBドライバの使用 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-mirakurun-epgstation.