Skip to content
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

feat: Adding Docker Compose for local dev #3847

Merged
merged 80 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
4efb7db
feat: Bare minimum starlight server as a starting point for prototyping
yhakbar Jan 13, 2025
7a5b580
feat: Upgrading starlight
yhakbar Jan 30, 2025
8ab62d1
feat: Adding minimal starlight prototype
yhakbar Jan 30, 2025
4b540b7
feat: Switching to starlight Filetrees
yhakbar Jan 31, 2025
b3e840b
wip: WIP work on getting dynamic content
yhakbar Jan 31, 2025
347103e
chore: Pinning relevant versions in mise.toml
yhakbar Jan 31, 2025
c8a3fbc
fix: Fixing more filetrees
yhakbar Jan 31, 2025
92ab4e4
fix: Working refactor
yhakbar Jan 31, 2025
7820fcb
fix: Adding dynamicity to astro
yhakbar Jan 31, 2025
223d0be
fix: Fixing another Filetree
yhakbar Jan 31, 2025
409ccb5
fix: Fixing astro config
yhakbar Jan 31, 2025
920edc0
feat: Done prototyping
yhakbar Jan 31, 2025
b97fd73
fix: Setting up routes to work like the legacy docs site
yhakbar Feb 3, 2025
8feaaaa
Merge remote-tracking branch 'origin/main' into prototype/starlight
yhakbar Feb 4, 2025
ab92758
fix: Adding a `TODO.md`
yhakbar Feb 4, 2025
230b225
fix: Fixing typo
yhakbar Feb 4, 2025
8280208
fix: Fixing favicon
yhakbar Feb 4, 2025
ae11822
fix: Renaming all docs files so that they're lexically sorted
yhakbar Feb 4, 2025
a298433
fix: Adding logo
yhakbar Feb 4, 2025
3e4e1ce
feat: Working on getting features docs put together
yhakbar Feb 4, 2025
020c3d8
fix: Cleaning up Stacks feature docs
yhakbar Feb 4, 2025
66225f4
feat: Adding includes docs
yhakbar Feb 4, 2025
11cafa6
feat: Small adjustment to trigger deployment
yhakbar Feb 4, 2025
30cdf5e
fix: Add file names to all code fences
yhakbar Feb 4, 2025
6d1efd7
fix: Adding file names to code fences
yhakbar Feb 5, 2025
2bc7790
feat: Adding scaffold
yhakbar Feb 5, 2025
eb4caaa
feat: Adding extra arguments docs
yhakbar Feb 5, 2025
d64a14f
feat: Adding AWS authentication docs
yhakbar Feb 5, 2025
ca676b6
feat: Adding hooks docs
yhakbar Feb 5, 2025
927741e
feat: Updating hoomepage
yhakbar Feb 5, 2025
dbba7f8
feat: Adding auto-init docs
yhakbar Feb 5, 2025
afb092c
feat: Adding runtime control
yhakbar Feb 5, 2025
1d777bb
feat: Adding provider cache server docs
yhakbar Feb 5, 2025
67a5a3a
feat: Adding engine docs
yhakbar Feb 5, 2025
7ecbc77
fix: Fixing contribution docs
yhakbar Feb 5, 2025
7d1538b
fix: Fixing support docs
yhakbar Feb 5, 2025
32051f1
feat: Adding license docs
yhakbar Feb 5, 2025
666aa82
feat: Adding configuration overview
yhakbar Feb 5, 2025
8d76f19
feat: Adding configuration block docs
yhakbar Feb 5, 2025
e1e3f85
feat: Adding attributes docs
yhakbar Feb 5, 2025
890f984
feat: Adding functions docs
yhakbar Feb 5, 2025
1413ff0
feat: Migrating CLI docs
yhakbar Feb 5, 2025
d1a8510
feat: Cleaning up old configuration docs
yhakbar Feb 5, 2025
2e684ae
fix: Moving over the rest of the docs
yhakbar Feb 5, 2025
6af0a19
feat: Adding strict controls and experiments docs
yhakbar Feb 5, 2025
24fa6a5
chore: Bump pnpm
yhakbar Feb 5, 2025
4c0d593
feat: Adding remaining content
yhakbar Feb 6, 2025
3f822c1
Merge remote-tracking branch 'origin/main' into feat/content-parity-w…
yhakbar Feb 6, 2025
1de514f
fix: Bugs from merge
yhakbar Feb 6, 2025
7217d89
fix: Downgrading node and pnpm
yhakbar Feb 6, 2025
7f8dfea
fix: Adding package-lock.json
yhakbar Feb 6, 2025
54c3798
fix: Moving to bun
yhakbar Feb 6, 2025
3ed9620
fix: Update README.md to point out that we're using bun
yhakbar Feb 6, 2025
d2ae5c5
fix: Fixing codespell ignore to ignore bun instead of pnpm
yhakbar Feb 6, 2025
aad034b
Update docs-starlight/src/content/docs/02-features/09-hooks.md
yhakbar Feb 6, 2025
de73aff
Update docs-starlight/src/content/docs/02-features/12-provider-cache-…
yhakbar Feb 6, 2025
9be50b6
fix: Updating banner
yhakbar Feb 6, 2025
24c59a3
fix: Better TODO
yhakbar Feb 6, 2025
f80c4e2
fix: Fixing experiments docs
yhakbar Feb 6, 2025
5e9e39b
fix: Cleaning up lock file handling docs
yhakbar Feb 6, 2025
0caf42b
fix: Fixing `auto-init` docs
yhakbar Feb 6, 2025
75d01dc
fix: More grammar updates
yhakbar Feb 6, 2025
f0fc62e
fix: Fixing strict controls docs
yhakbar Feb 6, 2025
1317809
fix: Updating scaffold docs
yhakbar Feb 6, 2025
ee960bb
fix: Fixing functions docs
yhakbar Feb 6, 2025
cbcdb0e
fix: Moving engine docs to MDX so that we can add a script to fetch t…
yhakbar Feb 6, 2025
d7c7bdf
fix: Fixing runtime-control
yhakbar Feb 6, 2025
d6ac63d
fix: Fixing hooks docs
yhakbar Feb 6, 2025
11b9ab2
fix: Fixing aws-authentication docs
yhakbar Feb 6, 2025
70c0e02
fix: Fixing includes docs
yhakbar Feb 6, 2025
a956217
fix: Fixing state backend docs
yhakbar Feb 6, 2025
95a5949
fix: Fixing configuration blocks and terragrunt cache
yhakbar Feb 6, 2025
844d5e2
fix: More typo fixes
yhakbar Feb 6, 2025
00ba00e
fix: More typo fixes
yhakbar Feb 6, 2025
0462334
fix: More English fixes
yhakbar Feb 6, 2025
75ad578
fix: More English fixes
yhakbar Feb 6, 2025
06feda0
fix: Don't try to use a link here
yhakbar Feb 6, 2025
cf39b6d
fix: Fixing `TODO.md` formatting
yhakbar Feb 6, 2025
5836f63
feat: Adding Docker Compose for local development
yhakbar Feb 6, 2025
a715b18
Merge remote-tracking branch 'origin/main' into feat/local-dev-improv…
yhakbar Feb 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions docs-starlight/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# FROM oven/bun:1.2.2
#
# WORKDIR /app
# COPY package.json bun.lock ./
#
# RUN bun install
#
# COPY . .
#
# EXPOSE 4321
#
# CMD ["bun", "run", "dev"]

# There's a bug that prevents us from using bun for this:
# https://github.com/oven-sh/bun/issues/17022

FROM node:22

WORKDIR /app
COPY package.json ./

RUN npm install

COPY . .

EXPOSE 4321

CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
4 changes: 3 additions & 1 deletion docs-starlight/TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ The Starlight rewrite of the Terragrunt website is a work in progress.
Here are some of the tasks that need to be completed:

## Infrastructure
- [ ] **Docker compose local dev setup**
- [x] **Docker compose local dev setup**
- [ ] **Vercel deployment**
- [x] **Vercel preview deployments**
- [ ] **Custom domain setup**

## Content
- [ ] **Content parity with current docs site**
- [x] **Parity for all docs except CLI reference**
- [ ] **Parity for CLI reference**
- [ ] **Redesign reference to use cards**
- [ ] **Setup redirects for all old URLs**
- [ ] **Automate keeping versions updated**
Expand Down
13 changes: 13 additions & 0 deletions docs-starlight/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
web:
build: .
volumes:
# Bind mount the working dir for live reload
- .:/app
# Avoid mounting node_modules from host
- /app/node_modules
ports:
# Astro dev server port
- "4321:4321"
environment:
- NODE_ENV=development