Skip to content

dauden/local-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information

GetCode

Repo URL: https://github.com/dauden/local-dev

Clone code from repo.

Run shell script and select your options to deply service in your local with docker stack.

$ sh ./setup.sh

If you got error with docker swarm init please try init swarm first.

$ docker swarm init 

then try again with command

$ docker stack deploy -c ./stack-mysql.yml [your_stack_name]
$ #Eg: docker stack deploy -c ./stack-mysql.yml LOCAL_DEV
$ export $(cat .env.local_dev) > /dev/null 2>&1;  docker stack deploy -c ./local-stack.yml [your_stack_name]
$ #Eg: export $(cat .env.local_dev) > /dev/null 2>&1; docker stack deploy -c ./local-stack.yml LOCAL_DEV

DONE:

Hasura work on port: 8083, at http://localhost:8083

PGAdmin4 work on port: 8081, at http://localhost:8081

Redis work on port: 6379

Postgres work on port: 5432

References

https://docs.docker.com/engine/reference/commandline/stack/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages