Compare commits
1 commit
1255faf7b1
...
b0af5705ac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0af5705ac |
6 changed files with 4 additions and 32 deletions
|
|
@ -78,7 +78,7 @@ environment:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: renovate
|
- name: renovate
|
||||||
image: renovate/renovate:39.264
|
image: renovate/renovate:39.256
|
||||||
environment:
|
environment:
|
||||||
RENOVATE_CONFIG_FILE: "renovate_backend_config.js"
|
RENOVATE_CONFIG_FILE: "renovate_backend_config.js"
|
||||||
RENOVATE_TOKEN:
|
RENOVATE_TOKEN:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
elixir 1.18.3-otp-27
|
elixir 1.18.3-otp-27
|
||||||
|
postgres 17.2
|
||||||
erlang 27.3
|
erlang 27.3
|
||||||
just 1.40.0
|
just 1.40.0
|
||||||
|
|
|
||||||
5
Justfile
5
Justfile
|
|
@ -1,4 +1,4 @@
|
||||||
run: install-dependencies start-database migrate-database
|
run: install-dependencies migrate-database
|
||||||
mix phx.server
|
mix phx.server
|
||||||
|
|
||||||
install-dependencies:
|
install-dependencies:
|
||||||
|
|
@ -10,9 +10,6 @@ migrate-database:
|
||||||
reset-database:
|
reset-database:
|
||||||
mix ash.reset
|
mix ash.reset
|
||||||
|
|
||||||
start-database:
|
|
||||||
docker compose up -d
|
|
||||||
|
|
||||||
ci-dev: lint audit test
|
ci-dev: lint audit test
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ config :mv, Mv.Repo,
|
||||||
username: "postgres",
|
username: "postgres",
|
||||||
password: "postgres",
|
password: "postgres",
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
port: 5000,
|
|
||||||
database: "mv_dev",
|
database: "mv_dev",
|
||||||
stacktrace: true,
|
stacktrace: true,
|
||||||
show_sensitive_data_on_connection_error: true,
|
show_sensitive_data_on_connection_error: true,
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
version: "3.5"
|
|
||||||
|
|
||||||
services:
|
|
||||||
db:
|
|
||||||
image: postgres:17.2-alpine
|
|
||||||
environment:
|
|
||||||
POSTGRES_USER: postgres
|
|
||||||
POSTGRES_PASSWORD: postgres
|
|
||||||
POSTGRES_DB: mv_dev
|
|
||||||
volumes:
|
|
||||||
- type: volume
|
|
||||||
source: postgres-data
|
|
||||||
target: /var/lib/postgresql/data
|
|
||||||
volume:
|
|
||||||
nocopy: true
|
|
||||||
ports:
|
|
||||||
- "5000:5432"
|
|
||||||
networks:
|
|
||||||
- local
|
|
||||||
|
|
||||||
networks:
|
|
||||||
local:
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
postgres-data:
|
|
||||||
2
mix.exs
2
mix.exs
|
|
@ -39,7 +39,7 @@ defmodule Mv.MixProject do
|
||||||
{:ash_postgres, "~> 2.0"},
|
{:ash_postgres, "~> 2.0"},
|
||||||
{:ash_phoenix, "~> 2.0"},
|
{:ash_phoenix, "~> 2.0"},
|
||||||
{:ash, "~> 3.0"},
|
{:ash, "~> 3.0"},
|
||||||
{:igniter, "~> 0.6", only: [:dev, :test]},
|
{:igniter, "~> 0.5", only: [:dev, :test]},
|
||||||
{:phoenix, "~> 1.7.20"},
|
{:phoenix, "~> 1.7.20"},
|
||||||
{:phoenix_ecto, "~> 4.5"},
|
{:phoenix_ecto, "~> 4.5"},
|
||||||
{:ecto_sql, "~> 3.10"},
|
{:ecto_sql, "~> 3.10"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue