article compose
version: '3.8'
services:
db:
image: postgres:15
container_name: article-db
restart: always
environment:
- POSTGRES_USER=article
- POSTGRES_PASSWORD=123456
- POSTGRES_DB=article_db
ports:
- "35432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
article-app:
image: shiningth/article-master:latest
container_name: article-app
restart: always
depends_on:
- db
ports:
- "8080:8000"
environment:
- DATABASE_URL=postgresql://article:123456@db:5432/article_db
- HTTP_PROXY=http://你的代理IP:端口
- HTTPS_PROXY=http://你的代理IP:端口
volumes:
postgres_data:
byte-muse compose
environment:
- BT_URL=http://ip:8080/api/v1/articles/torrents
- BT_HEADER={"X-API-Key":"令牌"}
Content type
Image
Digest
sha256:9885f1a7f…
Size
121.8 MB
Last updated
8 months ago
docker pull shiningth/article-master