mirror of
https://github.com/MrUnknownDE/linux-script.git
synced 2026-04-10 02:13:49 +02:00
add bluesky-node (dropped)
This commit is contained in:
17
bluesky-node-docker/Dockerfile
Normal file
17
bluesky-node-docker/Dockerfile
Normal 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
|
||||
|
||||
16
bluesky-node-docker/docker-compose.yml
Normal file
16
bluesky-node-docker/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user