⛔️ DEPRECATED A multi-architecture docker image for Haste pastebin.
This image has been depcrecated. Please use the k8s@home version instead.
---
version: "2.1"
services:
haste:
image: nicholaswilde/haste
container_name: haste
environment:
- TZ=America/Los_Angeles #optional
- PUID=1000 #optional
- PGID=1000 #optional
ports:
- 7777:7777
restart: unless-stopped
volumes:
- app:/app
volumes:
app:
config:
defaults:
$ docker run -d \
--name=haste \
-e TZ=America/Los_Angeles `# optional` \
-e PUID=1000 `# optional` \
-e PGID=1000 `# optional` \
-p 7777:7777 \
--restart unless-stopped \
nicholaswilde/haste
Check that you can build the following:
$ docker buildx ls
NAME/NODE DRIVER/ENDPOINT STATUS PLATFORMS
mybuilder * docker-container
mybuilder0 unix:///var/run/docker.sock running linux/amd64, linux/arm64, linux/arm/v7
If you are having trouble building arm images on a x86 machine, see this blog post.
$ make build
If you want to automatically generate README.md
files with a pre-commit hook, make sure you
install the pre-commit binary, and add a .pre-commit-config.yaml file
to your project. Then run:
pre-commit install
pre-commit install-hooks
Currently, this only works on amd64
systems.
This project was started in 2021 by Nicholas Wilde.