| api-server | ||
| cloud | ||
| frontend | ||
| game | ||
| go-shared | ||
| local | ||
| sql | ||
| websocket-server | ||
| .gitignore | ||
| build-cloud-docker.sh | ||
| docker-compose.yaml | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| swarm-deploy.sh | ||
| swarm.yaml | ||
Plan-pocker
Scrum plan pocker web app
Run local env
Local env using docker compose
Commands
To build and run:
make rebuild
To stop
make down
To start
make up
To migrate db
make migrate
First build
At first build you should run
make rebuild
After all containers started try to run
make migrate
to update database
Application will start at http://localhost, admin panel run at http://localhost/admin/, default user admin, password password
Deploying in Docker Swarm
To deploy the application in Docker Swarm, follow these steps:
-
Initialize Docker Swarm
First, you need to initialize Docker Swarm. Run the command:docker swarm init -
Plan the Build
Next, execute the script to plan the build:./build-cloud-docker.sh plan-pocker git -
Create the Environment File
Create an environment file based on the example located incloud/test.env. Copy it and edit as needed:cp cloud/test.env /path/to/file.env -
Export environment
export $(grep -v '^#' path/to/file.env | xargs) -
Deploy the Application
After that, run the script to deploy the application, specifying the path to your environment file:./swarm-deploy.sh up envfile=/path/to/file.env
Once these steps are completed, the application will start deploying in Docker Swarm and will be accessible on the specified port.
Demo
You can try application at https://plan.newpage.xyz