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

View File

@ -1,12 +1,12 @@
resources: resources:
- ../dev/ - ../dev/
images: images:
- name: git.coopgo.io/coopgo-apps/parcoursmob - name: git.coopgo.io/coopgo-apps/parcoursmob
newName: "coopgo-apps/parcoursmob" newName: "coopgo-apps/parcoursmob"
- name: git.coopgo.io/coopgo-platform/mobility-accounts - name: git.coopgo.io/coopgo-platform/mobility-accounts
newName: "coopgo-platform/mobility-accounts" newName: "coopgo-platform/mobility-accounts"
- name: git.coopgo.io/coopgo-platform/fleets # - name: git.coopgo.io/coopgo-platform/fleets
newName: "coopgo-platform/fleets" # newName: "coopgo-platform/fleets"
- name: git.coopgo.io/coopgo-platform/agenda - name: git.coopgo.io/coopgo-platform/agenda
newName: "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
];
}