Coder Social home page Coder Social logo

go-wave's Introduction

go-wave

Web project for recruting programming study and team project members

Envirionment

Name Version Link
Docker 20.10.7 https://docs.docker.com/engine/install/
Docker-compose 1.27.0 https://docs.docker.com/compose/install/
Compose file 3.8 https://docs.docker.com/compose/compose-file/compose-file-v3/
golang 1.15.7 https://golang.org/dl

How to Use

git clone https://github.com/atg0831/go-wave.git
cd go-wave

Run Containers

  • Develop Mode
# run dev mode using shell script
./runserver.sh --dev
# Or you can just use docker-compose command
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
  • Production Mode
# run prod mode using shell script
./runserver.sh --prod 
# Or you can just use docker-compose command
docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build

Down Containers

./downserver.sh 
# Or you can just use docker-compose command
docker-compose down

Each services role

  • proxy

    • A container for the reverse proxy role. When connecting to the Nginx server, the static files built by the react(frontend) server are displayed. And if you access the /api path, it will route to the api server.
  • api

    • A container that receives requests from clients and sends responses back to clients.
  • postgres

    • PostgreSQL Database container
  • pgadmin

    • A container to easily manage PostgreSQL database with GUI
  • redis

    • A container that is in-memory key-value data structure store and support pub/sub for chat

Deploy Ports

Container Name # Port
proxy 8081
api 58080
postgres 54320
pgadmin 54330
redis 56379

Contributors' info

Taegeon An - https://github.com/atg0831
Jungmin Kim - https://github.com/PudgeKim

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.