mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 16:38:23 +00:00
* Add goals * Fix up some migrations * Formatting * Simplify migration * Update test/controllers/settings_goals_controller_test.rb Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update test/controllers/settings_goals_controller_test.rb Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Fix svelte-check issues, make CI less janky on dev * svelte-check/fix tests * Fix N+1s * Formatting! * More tests, fix anonymization and N+1 --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
38 lines
926 B
YAML
38 lines
926 B
YAML
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.dev
|
|
ports:
|
|
- "3000:3000"
|
|
- "3036:3036"
|
|
volumes:
|
|
- .:/app
|
|
- bundle_cache:/usr/local/bundle
|
|
- node_modules:/app/node_modules
|
|
environment:
|
|
- RAILS_ENV=development
|
|
- DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_development
|
|
- POSTGRES_HOST=db
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=secureorpheus123
|
|
- TEST_DATABASE_URL=postgres://postgres:secureorpheus123@db:5432/app_test
|
|
depends_on:
|
|
- db
|
|
command: ["sleep", "infinity"]
|
|
|
|
db:
|
|
image: postgres:16
|
|
volumes:
|
|
- harbor_postgres_data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_PASSWORD=secureorpheus123
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_DB=app_development
|
|
ports:
|
|
- "5432:5432"
|
|
|
|
volumes:
|
|
harbor_postgres_data:
|
|
bundle_cache:
|
|
node_modules:
|