Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADD env variables to the .env file or in your environment look at the .env.example file for the variables needed

DB_CONTAINER is the name of the container that will be created for the database

before start container you need to create a network and add the container with db and container with the app to the network


then you need to apply the migrations to the database

go run ./cmd/migrator/main.go --storage-host= --storage-port= --storage-user= --storage-password= --migrations-path=./migrations

or

task main-migrations

to build the app

go build -o ./bin/sso ./cmd/sso/main.go

or

task build

to run the app

go run ./cmd/sso/main.go

or

task run

to build the docker image

docker build -t sso_service .

or

task docker-build

to run the docker container

docker run --name=sso -p 44044:44044 -network sso_service_network sso_service

or

task docker-run

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages