# yaml-language-server: $schema=https://schema.zeabur.app/template.json
apiVersion: zeabur.com/v1
kind: Template
metadata:
    name: ViaProxy
spec:
    description: Standalone proxy which allows players to join EVERY Minecraft server version (Classic, Alpha, Beta, Release, Bedrock)
    icon: https://raw.githubusercontent.com/ViaVersion/ViaVersion/refs/heads/master/fabric/src/main/resources/assets/viaversion/textures/squarelogo.png
    readme: ""
    services:
        - name: ViaProxy
          icon: https://raw.githubusercontent.com/ViaVersion/ViaVersion/refs/heads/master/fabric/src/main/resources/assets/viaversion/textures/squarelogo.png
          template: PREBUILT_V2
          spec:
            source:
                image: ghcr.io/viaversion/viaproxy:latest
            ports:
                - id: port
                  port: 25568
                  type: TCP
            volumes:
                - id: data
                  dir: /app/run
            portForwarding:
                enabled: true
