claude/heroku-clone-mvp-plan-NREhc #1
2 changed files with 7 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
# ── Build stage ───────────────────────────────────────────────────────────────
|
||||
# Run the compiler on the *build* host; cross-compile to target when needed.
|
||||
FROM --platform=$BUILDPLATFORM rust:1.94-slim-bookworm AS builder
|
||||
FROM --platform=$BUILDPLATFORM docker.io/library/rust:1.94-slim-bookworm AS builder
|
||||
|
||||
ARG BUILDPLATFORM
|
||||
ARG TARGETPLATFORM
|
||||
|
|
@ -60,7 +60,7 @@ RUN TARGET=$(cat /rust_target) && \
|
|||
RUN cp /build/target/"$(cat /rust_target)"/release/hiy-server /usr/local/bin/hiy-server
|
||||
|
||||
# ── Runtime stage ─────────────────────────────────────────────────────────────
|
||||
FROM debian:bookworm-slim
|
||||
FROM docker.io/library/debian:bookworm-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ services:
|
|||
# rootful: /run/podman/podman.sock
|
||||
# rootless: /run/user/<UID>/podman/podman.sock (start.sh sets this)
|
||||
podman-proxy:
|
||||
image: alpine/socat
|
||||
image: docker.io/alpine/socat
|
||||
command: tcp-listen:2375,fork,reuseaddr unix-connect:/podman.sock
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
|
|
@ -62,7 +62,7 @@ services:
|
|||
|
||||
# ── Shared Postgres ───────────────────────────────────────────────────────
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
image: docker.io/library/postgres:16-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_DB: hiy
|
||||
|
|
@ -75,7 +75,7 @@ services:
|
|||
|
||||
# ── Reverse proxy ─────────────────────────────────────────────────────────
|
||||
caddy:
|
||||
image: caddy:2-alpine
|
||||
image: docker.io/library/caddy:2-alpine
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "80:80"
|
||||
|
|
@ -98,7 +98,7 @@ services:
|
|||
# Enable with: podman compose --profile monitoring up -d
|
||||
gatus:
|
||||
profiles: [monitoring]
|
||||
image: twinproduction/gatus:latest
|
||||
image: docker.io/twinproduction/gatus:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:8080"
|
||||
|
|
@ -111,7 +111,7 @@ services:
|
|||
# On rootless Podman some host mounts may be unavailable; comment out if so.
|
||||
netdata:
|
||||
profiles: [monitoring]
|
||||
image: netdata/netdata:stable
|
||||
image: docker.io/netdata/netdata:stable
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "19999:19999"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue