添加 moontv
This commit is contained in:
29
moontv
Normal file
29
moontv
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
services:
|
||||||
|
moontv-core:
|
||||||
|
image: ghcr.io/moontechlab/lunatv:latest
|
||||||
|
container_name: moontv-core
|
||||||
|
restart: on-failure
|
||||||
|
ports:
|
||||||
|
- '3000:3000'
|
||||||
|
environment:
|
||||||
|
- USERNAME=admin
|
||||||
|
- PASSWORD=chentiewu80
|
||||||
|
- NEXT_PUBLIC_STORAGE_TYPE=redis
|
||||||
|
- REDIS_URL=redis://moontv-redis:6379
|
||||||
|
- AUTH_TOKEN=授权码
|
||||||
|
networks:
|
||||||
|
- moontv-network
|
||||||
|
depends_on:
|
||||||
|
- moontv-redis
|
||||||
|
moontv-redis:
|
||||||
|
image: redis:alpine
|
||||||
|
container_name: moontv-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- moontv-network
|
||||||
|
# 请开启持久化,否则升级/重启后数据丢失
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
networks:
|
||||||
|
moontv-network:
|
||||||
|
driver: bridge
|
||||||
Reference in New Issue
Block a user