service.category

module
v0.0.0-...-b2483d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: GPL-3.0

README

Run Project

How to run project

1. add swarm network

docker network create --driver overlay --attachable turistikrota

2. add secrets

docker secret create jwt_private_key ./jwtRS256.key
docker secret create jwt_public_key ./jwtRS256.key.pub

3. build image

docker build --build-arg GITHUB_USER=<GITHUB_USER> --build-arg GITHUB_TOKEN=<GITHUB_TOKEN> -t github.com/turistikrota/service.category .  

4. run container

docker service create --name category-api-turistikrota-com --network turistikrota --secret jwt_private_key --secret jwt_public_key --env-file .env --publish 6022:6022 github.com/turistikrota/service.category:latest

Directories

Path Synopsis
app
domains
server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL