Remove the Docker container build and deployment

The updaters and posters are moving to Cloudflare Workers, and the
container will not receive the new code, so the image build workflow,
Dockerfile, Compose files, and Watchtower configuration go. The
container currently in production keeps running its last image until it
is retired.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Matt Isenhower
2026-09-05 10:50:08 -07:00
parent a9a7cff7d6
commit 62e6f3aceb
7 changed files with 0 additions and 124 deletions

View File

@@ -1,3 +0,0 @@
node_modules
dist
storage

View File

@@ -1,55 +0,0 @@
name: Deploy
on:
push:
branches:
- main
- develop
jobs:
deploy-backend:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
id: push
uses: docker/build-push-action@v6
with:
context: .
file: ./docker/app/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

1
.gitignore vendored
View File

@@ -1,6 +1,5 @@
node_modules
.env
docker-compose.override.yml
/dist
logs
test-screenshot-*

View File

@@ -1,14 +0,0 @@
# Example Docker Compose override file for local development
services:
app:
platform: linux/amd64 # Needed for Apple Silicon
build:
dockerfile: docker/app/Dockerfile
volumes:
- .:/app
browserless:
platform: linux/arm64 # Needed for Apple Silicon
ports:
- 3000:3000

View File

@@ -1,17 +0,0 @@
# Example Docker Compose override file for production
services:
app:
# Use a different tag if needed
# image: ghcr.io/misenhower/splatoon2.ink:develop
labels: [ "com.centurylinklabs.watchtower.scope=splatoon2ink" ]
browserless:
labels: [ "com.centurylinklabs.watchtower.scope=splatoon2ink" ]
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 30 --scope splatoon2ink
labels: [ "com.centurylinklabs.watchtower.scope=splatoon2ink" ]

View File

@@ -1,19 +0,0 @@
services:
app:
image: ghcr.io/misenhower/splatoon2.ink
init: true
restart: unless-stopped
environment:
USE_BROWSERLESS: true
BROWSERLESS_ENDPOINT: ws://browserless:3000
SCREENSHOT_HOST: app
depends_on:
- browserless
env_file:
- .env
browserless:
image: ghcr.io/browserless/chromium
restart: unless-stopped
environment:
CONCURRENT: ${BROWSERLESS_CONCURRENT:-1}

View File

@@ -1,15 +0,0 @@
FROM node:22
# App setup
WORKDIR /app
ENV PUPPETEER_SKIP_DOWNLOAD=true
# Install NPM dependencies
COPY package*.json ./
RUN npm ci
# Copy app files and build
COPY . .
RUN npm run build
CMD ["npm", "run", "start"]