Sign inSign up

brian9909/doubanpic

By brian9909

•Updated 2 months ago

Image
0

134

brian9909/doubanpic repository overview

name: douban-service

services:
  douban-banner-service:
    build:
      context: .
      dockerfile: Dockerfile
    image: brian9909/doubanpic:latest
    container_name: douban-banner-service
    restart: always
    ports:
      - "2686:8000"
    volumes:
      - ./data:/app/data
    environment:
      - DATA_DIR=/app/data
      - TZ=Asia/Shanghai
    healthcheck:
      test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/search?q=test')"]
      interval: 30s
      timeout: 10s
      retries: 3

Tag summary

Content type

Image

Digest

sha256:90b3296ca…

Size

57.9 MB

Last updated

2 months ago

docker pull brian9909/doubanpic