Skip to content

Commit

Permalink
chore: pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
3mcd committed Mar 4, 2025
1 parent 562dc66 commit c15cec6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
sed -i "s|image: PLATFORM_IMAGE|image: $PLATFORM_IMAGE|" docker-compose.preview.yml
sed -i "s|image: JOBS_IMAGE|image: $JOBS_IMAGE|" docker-compose.preview.yml
sed -i "s|image: MIGRATIONS_IMAGE|image: $MIGRATIONS_IMAGE|" docker-compose.preview.yml
sed -i "s|example.com|$PULLPREVIEW_PUBLIC_DNS|" self-host/caddy/Caddyfile
sed -i "s|email [email protected]|email [email protected]|" self-host/caddy/Caddyfile
- uses: pullpreview/action@v5
with:
Expand Down
1 change: 0 additions & 1 deletion core/app/(user)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export default async function Login({

return (
<div className="mx-auto max-w-sm">
<p>It works!</p>
<LoginForm />
{/* <div className="text-gray-600 text-center mt-6">
Don't have an account?{" "}
Expand Down
20 changes: 4 additions & 16 deletions docker-compose.preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,24 @@ services:
MINIO_ROOT_PASSWORD: preview
ASSETS_UPLOAD_KEY: preview
ASSETS_UPLOAD_SECRET_KEY: preview
ASSETS_STORAGE_ENDPOINT=${PULLPREVIEW_PUBLIC_DNS}/assets
platform-jobs:
image: JOBS_IMAGE
platform-migrations:
image: MIGRATIONS_IMAGE
command: ["pnpm", "--filter", "core", "migrate-docker", "&&", "pnpm", "--filter", "core", "reset"]
caddy:
image: caddy:latest
restart: unless-stopped
command: "caddy reverse-proxy --from '${PULLPREVIEW_PUBLIC_DNS}' --to platform:3000"
depends_on:
- platform
- platform-jobs
- minio
env_file: .env
ports:
- "80:80"
- "443:443"
volumes:
- ./caddy:/etc/caddy
- ./self-host/caddy:/etc/caddy
- caddy-data:/data
- caddy-config:/config
networks:
- app-network
seed:
platform: linux/amd64
depends_on:
platform:
condition: service_started
image: ghcr.io/pubpub/platform-migrations:latest
env_file: .env
environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}
command: ["pnpm", "--filter", "core", "reset"]
networks:
- app-network

0 comments on commit c15cec6

Please sign in to comment.