Skip to content
Snippets Groups Projects
Commit 49658a42 authored by Rémi PAILHAREY's avatar Rémi PAILHAREY :fork_knife_plate:
Browse files

feat: OpenShift deployment

parent 06c128d4
Branches
No related tags found
4 merge requests!73Deploy Openshift v2,!65MEP: removed Meilisearch,!52back-office SGE before canary release,!39Feat/us823 openshift deploy
kind: Secret
apiVersion: v1
metadata:
name: sge-api
namespace: ns-selfdata-d01-syn
stringData:
token: YOUR_TOKEN
type: Opaque
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: backend
namespace: ns-selfdata-d01-syn
spec:
selector:
io.kompose.service: ecolyo-agent-server
ports:
- protocol: TCP
port: 1443
targetPort: 1443
- protocol: TCP
port: 8090
targetPort: 8090
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: ecolyo-agent-client-service
namespace: ns-selfdata-d01-syn
spec:
selector:
io.kompose.service: ecolyo-agent-client
ports:
- protocol: TCP
port: 80
targetPort: 8080
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: ecolyo-agent-database-service
namespace: ns-selfdata-d01-syn
spec:
selector:
io.kompose.service: ecolyo-agent-database
ports:
- protocol: TCP
port: 3306
targetPort: 3306
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: ecolyo-agent-meilisearch-service
namespace: ns-selfdata-d01-syn
spec:
selector:
io.kompose.service: ecolyo-agent-meilisearch
ports:
- protocol: TCP
port: 7700
targetPort: 7700
\ No newline at end of file
...@@ -24,7 +24,7 @@ func main() { ...@@ -24,7 +24,7 @@ func main() {
log.Println("--- Server is starting ---") log.Println("--- Server is starting ---")
// Initializations // Initializations
tokens.Init("./configs/tokenskey.json", debugMode) tokens.Init("./mnt/configs/tokenskey.json", debugMode)
// Create the server // Create the server
rootMux := rootmux.CreateRootMux() rootMux := rootmux.CreateRootMux()
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment