mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-16 03:12:21 +08:00
40 lines
872 B
YAML
40 lines
872 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
services:
|
|
stream-rec-backend:
|
|
container_name: stream-rec-backend
|
|
env_file:
|
|
- ./envs/global.env
|
|
- .env
|
|
environment:
|
|
- LOG_LEVEL=INFO
|
|
- DB_PATH=/opt/records
|
|
- DOWNLOAD_PATH=/download
|
|
image: streamrec/stream-rec:v0.7.2
|
|
labels:
|
|
createdBy: Apps
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_API}:12555
|
|
restart: always
|
|
volumes:
|
|
- ${STREAM_REC_ROOT_PATH}/records:/opt/records
|
|
- ${STREAM_REC_ROOT_PATH}/download:/download
|
|
stream-rec-frontend:
|
|
container_name: stream-rec
|
|
depends_on:
|
|
- stream-rec-backend
|
|
env_file:
|
|
- ./envs/global.env
|
|
- .env
|
|
image: streamrec/stream-rec-front:v0.7.2
|
|
labels:
|
|
createdBy: Apps
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:15275
|
|
restart: always
|