92 lines
1.9 KiB
YAML
92 lines
1.9 KiB
YAML
|
|
repository: gitea.azgstudio.com/raven
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
|
|
global:
|
|
env:
|
|
LOG_LEVEL: "debug"
|
|
APP_ENV: "dev"
|
|
DATABASE_URL: "" # This is a placeholder. Will be dynamically constructed
|
|
REDIS_URL: "redis://valkey:6379/0"
|
|
LISTEN_ADDR: "0.0.0.0"
|
|
|
|
services:
|
|
- name: auth-service
|
|
replicas: 1
|
|
serviceAccount: azgstudio-serviceaccount
|
|
image: auth-service:latest
|
|
port: 50051
|
|
env:
|
|
SERVICE_PORT: 50051
|
|
service:
|
|
portName: auth-service
|
|
port: 50051
|
|
targetPort: 50051
|
|
protocol: TCP
|
|
|
|
- name: character-service
|
|
replicas: 1
|
|
serviceAccount: azgstudio-serviceaccount
|
|
image: character-service:latest
|
|
port: 50053
|
|
env:
|
|
SERVICE_PORT: 50053
|
|
service:
|
|
annotations:
|
|
name: "AZG Studio"
|
|
portName: character-service
|
|
port: 50053
|
|
targetPort: 50053
|
|
protocol: TCP
|
|
|
|
- name: database-service
|
|
replicas: 1
|
|
serviceAccount: azgstudio-serviceaccount
|
|
image: database-service:latest
|
|
port: 50052
|
|
env:
|
|
SERVICE_PORT: 50052
|
|
service:
|
|
portName: database-service
|
|
port: 50052
|
|
targetPort: 50052
|
|
protocol: TCP
|
|
|
|
- name: packet-service
|
|
replicas: 1
|
|
serviceAccount: azgstudio-serviceaccount
|
|
image: packet-service:latest
|
|
port: 29000
|
|
env:
|
|
SERVICE_PORT: 29000
|
|
service:
|
|
type: LoadBalancer
|
|
portName: game-packet-service
|
|
port: 29000
|
|
targetPort: 29000
|
|
protocol: TCP
|
|
|
|
- name: world-service
|
|
replicas: 1
|
|
serviceAccount: azgstudio-serviceaccount
|
|
image: world-service:latest
|
|
port: 50054
|
|
env:
|
|
SERVICE_PORT: 50054
|
|
service:
|
|
annotations:
|
|
name: "Athena"
|
|
portName: world-service
|
|
port: 50054
|
|
targetPort: 50054
|
|
protocol: TCP
|
|
|
|
tests:
|
|
enabled: false
|
|
services:
|
|
- name: api-service
|
|
testCommand: ["curl", "-f", "http://api-service:8080/health"]
|
|
image: curlimages/curl:latest
|