- Created `useIpPublic` hook for fetching public IP. - Developed `useProjets`, `useProjet`, `useCreateProjet`, and `useEditProjet` hooks for project management. - Implemented i18n configuration for internationalization support. - Added global CSS styles and main application entry point. - Established routing with lazy-loaded components for better performance. - Created sections for Home, About, CV, and Projects with responsive design. - Integrated form handling for project creation and editing with validation. - Added footer and navigation bar components. - Defined project types and validation schemas. - Configured TypeScript and Vite for the project setup.
42 lines
693 B
YAML
42 lines
693 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: nginx-deployment
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: aplication_front_portefolio
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx:alpine
|
|
ports:
|
|
- containerPort: 80
|
|
- name: react-app
|
|
image: .
|
|
- name: api-go
|
|
image: .
|
|
|
|
...
|
|
apiVersion: apps/v1
|
|
kind: service
|
|
metadata:
|
|
name: serveur-portefolio-service
|
|
spec:
|
|
selector:
|
|
app: aplication_front_portefolio
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
targetPort: 80
|
|
type: LoadBalancer
|
|
...
|