Skip to content

Instantly share code, notes, and snippets.

@ProteinPig
ProteinPig / Dockerfile
Last active September 30, 2019 04:58
Subfinder镜像构建
FROM python:3.7-alpine
WORKDIR /config
RUN apk add --no-cache --virtual .build-deps gcc libc-dev libxml2-dev libxslt-dev unrar
RUN pip install subfinder
RUN echo '*/30 * * * * subfinder ${SUBFIND_DIR} -c /config/subfinder.json' > /etc/crontabs/root
CMD ["crond", "-f", "-d", "8"]
VOLUME /config
@ProteinPig
ProteinPig / docker-compose.yml
Last active October 10, 2022 10:50
基于Docker的家庭服务器
#Reference: https://www.smarthomebeginner.com/docker-home-media-server-2018-basic
#Requirement: Set environmental variables: USERDIR, PUID, PGID, MYSQL_ROOT_PASSWORD, and TZ as explained in the reference.
version: "2.4"
services:
######### FRONTENDS ##########
# Portainer - WebUI for Containers
portainer: