Add nix shell with some dependencies to ease bootstrap of local environment

This commit is contained in:
Arnaud Delcasse 2024-11-27 19:11:38 +01:00
parent 1728b77446
commit a68134667c
3 changed files with 41 additions and 18 deletions

View File

@ -3,25 +3,25 @@ dev_env: true
server:
listen: 0.0.0.0:80
templates:
templates:
root: /themes/default/
public_dir: /themes/default/web/public/
identification:
oidc:
provider: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob
provider_config:
issuer_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob
provider: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob
provider_config:
issuer_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob
auth_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/auth
token_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/token
user_info_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/user_info
jwks_url: http://mobility-accounts.tilt-dev.svc.cluster.local/parcoursmob/.well_known/jwks.json
client_id: abcdef
client_secret: ghijkl
redirect_url: http://parcoursmob.tilt-dev.svc.cluster.local/api/oauth2/callback
client_id: abcdef
client_secret: ghijkl
redirect_url: http://parcoursmob.tilt-dev.svc.cluster.local/api/oauth2/callback
services:
grpc:
grpc:
mobilityaccounts:
dial: mobility-accounts:8080
groupsmanagement:
@ -33,9 +33,9 @@ services:
navitia:
api_key: abcd
storage:
storage:
kv:
type: etcd
type: etcd
etcd:
endpoints:
- etcd:2379
@ -49,7 +49,7 @@ storage:
use_ssl: false
bucket_name: parcoursmob
location: fr-par
file_types:
file_types:
driving_licence: Permis de conduire
work_contract: Contrat de travail ou de formation
identity_proof: Pièce d'identité
@ -57,12 +57,12 @@ storage:
emailing:
smtp:
host: smtp4dev
host: smtp4dev
port: 25
username: noreply@parcoursmob.fr
username: noreply@parcoursmob.fr
password: 12345678
modules:
modules:
beneficiaries:
enable: true
documents_types:
@ -85,6 +85,11 @@ modules:
- work_contract
agenda:
enabled: true
calendars:
global:
enabled: true
organizations:
enabled: true
events_types:
- name: Accompagnements individuels
- name: Permis accéléré
@ -98,3 +103,5 @@ modules:
- name: Information collective
- name: Autre
# knowledge:
# enabled: true

View File

@ -1,12 +1,12 @@
resources:
- ../dev/
resources:
- ../dev/
images:
- name: git.coopgo.io/coopgo-apps/parcoursmob
newName: "coopgo-apps/parcoursmob"
- name: git.coopgo.io/coopgo-platform/mobility-accounts
newName: "coopgo-platform/mobility-accounts"
- name: git.coopgo.io/coopgo-platform/fleets
newName: "coopgo-platform/fleets"
# - name: git.coopgo.io/coopgo-platform/fleets
# newName: "coopgo-platform/fleets"
- name: git.coopgo.io/coopgo-platform/agenda
newName: "coopgo-platform/agenda"

16
shell.nix Normal file
View File

@ -0,0 +1,16 @@
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
pkgs.mkShellNoCC {
packages = with pkgs; [
tilt
k3d
neovim
kubectl
protobuf
protoc-gen-go
protoc-gen-go-grpc
];
}