Files
PixivFE/compose.yaml
T
perennial ba6f2c78a1 Docker: Update config and simplify deployment
- Update Dockerfile to use golang 1.23.1 with Alpine
- Switch base image to scratch
- Replace docker-compose.yml with compose.yaml and update configuration
- Remove unnecessary files (entrypoint.sh, pixivfe_token.txt)
- Simplify token management
- Update documentation
2024-09-12 01:37:25 +10:00

22 lines
505 B
YAML

services:
pixivfe:
container_name: pixivfe
hostname: pixivfe
# image: vnpower/pixivfe:latest
# Uncomment to build image from local repository
build:
context: .
dockerfile: Dockerfile
init: true
ports:
# Specify `8282:8282` only if you are not using a reverse proxy
- 127.0.0.1:8282:8282
env_file: .env
restart: unless-stopped
cap_drop:
- ALL
read_only: true
user: 10001:10001
security_opt:
- no-new-privileges:true