24 Commits

Author SHA1 Message Date
Pedro J. Aramburu
616c363b3e Enable selenium service in devcontainer for system tests (#1340)
Co-authored-by: Pedro J. Aramburu <pedro@joakin.dev>
2026-04-06 14:15:57 +02:00
Gilles Devillers
75bbeed300 fix: use port configured in .env (#773) 2026-01-25 16:02:57 +01:00
Juan José Mata
c138d8e367 Expose pg port 5432 again
Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2025-11-26 21:45:01 +01:00
Juan José Mata
805f8207a9 Change base image from bullseye to bookworm
No more `slim-bullseye` images?

Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2025-11-10 15:53:01 +01:00
LPW
f98858cffc Upgrade Ruby version to 3.4.7 (#305)
* Upgrade Ruby version to 3.4.7

* Update Dockerfile as well

---------

Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
2025-11-09 21:10:51 +01:00
Juan José Mata
e065c98396 Revert "Make bin/rails test pass in Dev Container" to avoid side-effects (#302)
* Revert "Add dummy PLAID_CLIENT_ID and PLAID_SECRET to env (#165)"

This reverts commit 617876f140.

* Make sure Plaid tests pass withtout ENV requirements
2025-11-07 19:53:31 +01:00
Juan José Mata
6f1b651b80 Match pg in dev container and example.compose.yml
Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2025-11-04 20:34:01 +01:00
J4ker
749bcda871 Update Dockerfile - procps (#286)
* Update Dockerfile - procps

install procps for worker container healthcheck - pgrep

Signed-off-by: J4ker <56275036+J4ker@users.noreply.github.com>

* Good idea, adding it to dev container

---------

Signed-off-by: J4ker <56275036+J4ker@users.noreply.github.com>
Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
2025-11-04 19:09:49 +01:00
Juan José Mata
0fc70e9082 Add runServices for db and redis in devcontainer
Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2025-10-26 23:16:25 +01:00
Juan José Mata
11d4862fb3 No need to expose db + redis ports in .devcontainer
Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2025-10-22 23:32:41 +02:00
Juan José Mata
617876f140 Add dummy PLAID_CLIENT_ID and PLAID_SECRET to env (#165)
Signed-off-by: Juan José Mata <juanjo.mata@gmail.com>
2025-09-25 15:05:53 +02:00
Himank Dave
1ae9e3e8fb feat(devcontainer): upgrade dev environment with better prompts, extensions, and configs (#95)
* chore(devcontainer): optimize Dockerfile for Ruby dev environment

* chore(devcontainer): update container name and improve VSCode settings

- Rename devcontainer from 'Maybe' to 'Sure'
- Add GIT_EDITOR env var for VSCode integration
- Add Shopify Ruby extensions pack

* feat(devcontainer): add custom Bash prompt with Git info

- Implement Git branch, status markers in prompt
- Show username, current dir, and Git info with colors
- Mount custom .bashrc into container for prompt enhancements

* fix(devcontainer): improve branch detection & status markers in prompt

- Support detached HEAD by showing short SHA
- Show detailed git states: rebase, merge, bisect, am
- Fix prompt formatting and trailing colors

* Better solution to GitHub Codespaces CSRF issue

* feat(devcontainer): add Git autocompletion support in bashrc

* refactor(devcontainer): reorder volumes and service settings

- Added volume mounts for workspace & bundle cache to worker service.

---------

Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
2025-08-10 07:53:46 +02:00
Zach Gollwitzer
caf35701ef Fix Docker builds after package updates 2025-05-20 14:00:31 -04:00
Zach Gollwitzer
dd605a577e Bump ruby to 3.4.4 2025-05-20 09:09:10 -04:00
Joseph Ho
54f5a44a60 devContainer: Use Redis for ActiveJob and ActionCable. (#2017)
* devContainer: Use Redis for ActiveJob and ActionCable

* devContainer: Simplify environment variables for services.

* devContainer: Remove version field as it's no longer required in Compose.
2025-03-24 10:00:42 -04:00
Zach Gollwitzer
d428a1f954 Bump to Ruby 3.4.1 (#1721) 2025-01-27 19:59:16 -05:00
Luis Ezcurdia
18266c3352 Bump ruby version to 3.3.5 (#1402) 2024-11-05 11:05:08 -05:00
oxdev03
4ad28d6eff Add BiomeJS for Linting and Formatting JavaScript relates to #1295 (#1299)
* chore: add formatting and linting for javascript code relates to #1295

* use spaces instaed

* add to recommended extensions

* only enforce lint

* auto save
2024-10-14 17:09:27 -04:00
Chris Covington
b437bb20c4 Bump ruby from 3.3.1 to 3.3.4 (#1084) 2024-08-13 12:49:51 -04:00
Zach Gollwitzer
4f508cd151 Bump to Ruby 3.3.1 (#709)
* Bump to Ruby 3.3.1

* Update Dockerfile versions

* Omit system tests in CI

* Use `:test` adapter in test

* Remove redundant config
2024-05-03 08:22:19 -04:00
Elijah
018628f68e Add a BUNDLE_PATH to .devcontainer/docker-compose.yml (#358)
Co-authored-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
2024-02-07 15:27:20 -05:00
Rob Zolkos
d4751053f3 Fix database config for non-devcontainer environments (#318)
Back in this [commit](5f50ea3f02 (diff-5a674c769541a71f2471a45c0e9dde911b4455344e3131bddc5a363701ba6325R22-R23)) I added a default postgres user and password.

Often this is not the user and password that is used in non-devcontainer environments.

This commit uses environment variables that are set in the devcontainer to set the user and password in the database.yml file.

If the environment variables are not set, it falls back to the default user and password on the users system.
2024-02-05 22:17:50 -06:00
Rob Zolkos
ecd8b8b202 Fix devcontainer Dockerfile for Ruby 3.3.0 on Apple Silicon (#293)
This compiles a Ruby 3.3.0 with a patch that fixes issues on Apple
Silicon Macs.  It is a bandaid until Ruby 3.3.1 when we will revert back
to using blessed ruby docker images.
2024-02-05 12:36:53 -06:00
Rob Zolkos
5f50ea3f02 Add basic devcontainer 2024-02-02 16:30:10 +00:00