add bluesky-node (dropped)

This commit is contained in:
2024-10-19 17:44:30 +02:00
parent 8bd868d790
commit a8deadf71c
3 changed files with 45 additions and 25 deletions

View File

@@ -0,0 +1,17 @@
# Use debian:bookworm-slim as base image
FROM debian:bookworm
# Set the working directory
WORKDIR /app
# Install any necessary packages
RUN apt-get update \
&& apt-get install curl -y \
&& curl "https://raw.githubusercontent.com/MrUnknownDE/linux-script/main/sh_scripts/repos/debian-12.txt" -o /etc/apt/sources.list \
&& apt-get update && apt-get upgrade -y \
&& apt-get install wget lsb-release -y
# Install ATProtocol (aka. BlueskyNode)
RUN wget https://raw.githubusercontent.com/bluesky-social/pds/main/installer.sh
RUN bash installer.sh

View File

@@ -0,0 +1,16 @@
version: '3.8'
services:
bluesky-node:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./app:/app # Mount directory on the host
ports:
- 80:80
- 443:443
volumes:
bluesky-node:
driver: local