Skip to content

Docker Build #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Apr 30, 2025
Merged

Docker Build #397

merged 21 commits into from
Apr 30, 2025

Conversation

OmarMcAdam
Copy link
Collaborator

This PR adds the initial work for a Cap self hosted docker build
images are built with
pnpm build:web:docker from the repo root after pnpm install

a template docker compose file is located in the repo root docker-compose.template.yml
it conains some template ENVs that should be changed before usage in production

the image can be tested locally by first building the image, then running docker compose --file docker-compose.template.yml up

video in action: https://cap.so/s/70e29z7zaxamnqr

@danielehrhardt
Copy link

push

@Brendonovich Brendonovich marked this pull request as ready for review April 30, 2025 01:43
@Brendonovich Brendonovich merged commit 1c6277b into main Apr 30, 2025
6 checks passed
Brendonovich added a commit that referenced this pull request Apr 30, 2025
* feat: Drizzle updates + migration folder (fresh)

* feat: Schema changes

* feat: Refactor from space to organization

* feat: Add build:web command

* Docker Build (#397)

* add nextjs docker build stuffs

* docker image build setup

* start removing NEXT_PUBLIC envs in favour of server

* move most envs to server

* getting somewhere

* getting there

* web: middleware/fix url and remove api checks

* docker build CMDs

* only require build envs

* fix db

* allow customising VITE_SERVER_URL for desktop

* more db()

* fix enough ts issues

* docker-build: update envs

* all done :)

* fix vercel urls

* handle instrumentation properly

* work plz

---------

Co-authored-by: Brendan Allan <[email protected]>

* merge

* fix middleware

* bruh

* bruh2

* bruh3

---------

Co-authored-by: Omar McAdam <[email protected]>
Co-authored-by: Brendan Allan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants