🚀 Get 25% off access to all my premium courses - use discount code FUNCMAIN at checkout - view the pricing page now!


Docker-compose for your Go Applications

March 12, 2023

Course Instructor: Elliot Forbes

Hey Gophers! My name is Elliot and I'm the creator of TutorialEdge and I've been working with Go systems for roughly 5 years now.

Commands Run

# runs our docker-compose file 
$ docker-compose up 

# runs docker-compose in detached mode
$ docker-compose up -d

# gets the container IDs 
$ docker ps
# exec into the postgres container by container id
$ docker exec -it CONTAINERID bash
# Log into postgres
$ psql -U postgres