Skip to content

next-hat/nanocl-get-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nanocl Get Started

Tags
documentation, guide, getting started


Official Nanocl get started

Image used for Nanocl get started tutorial.
That just return headers and environnement variables for all incomming requests.

Example:

Create a new Statefile get_started.yml :

Kind: Deployment
ApiVersion: v0.11

Namespace: global

# See all options:
# https://docs.next-hat.com/references/nanocl/resource
Resources:
- Name: get-started.com
  Kind: ProxyRule
  Version: v0.8
  Data:
    Rules:
    - Domain: get-started.com
      Network: Internal
      Locations:
      - Path: /
        Target:
          Key: get-started.global.c
          Port: 9000

# See all options:
# https://docs.next-hat.com/references/nanocl/cargo
Cargoes:
- Name: get-started
  Container:
    Image: ghcr.io/nxthat/nanocl-get-started:latest
    Env:
    - APP=GET_STARTED

Execute the Statefile :

nanocl state apply -s get_started.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published