12345678910111213141516171819202122232425262728293031323334 |
- version: "3.7"
- services:
- pixivfe:
- container_name: pixivfe
- hostname: pixivfe
- restart: unless-stopped
- user: 1000:1000
- read_only: true
- security_opt:
- - no-new-privileges:true
- cap_drop:
- - ALL
- build:
- context: .
- dockerfile: Dockerfile
- ports:
- - "8282:8282" # Specify `127.0.0.1:8282:8282` instead if using a reverse proxy
- env_file: .env
- healthcheck:
- test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://127.0.0.1:8282/about"]
- interval: 30s
- timeout: 3s
- start_period: 15s
- retries: 3
- secrets:
- - pixivfe_token
- secrets:
- pixivfe_token:
- # Copy the contents of the `PHPSESSID` cookie into `pixivfe_token.txt`
- # See ./doc/How-to-get-the-pixiv-token.md for instructions
- file: ./docker/pixivfe_token.txt
|