mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
ba6f2c78a1
- 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
22 lines
505 B
YAML
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
|