Find a file
2025-06-22 22:30:09 +03:00
api-server Add grafana and loki 2025-06-22 18:09:59 +03:00
cloud Add mysql explorer to swarm 2025-06-22 21:34:35 +03:00
frontend Improve ws client 2025-06-19 21:38:20 +03:00
game Add grafana and loki 2025-06-22 18:09:59 +03:00
go-shared Add grafana and loki 2025-06-22 18:09:59 +03:00
local Add grafana and loki 2025-06-22 18:09:59 +03:00
sql Fix services 2025-06-13 17:32:53 +03:00
websocket-server Add UserUID label 2025-06-22 21:52:33 +03:00
.gitignore fix deploy images 2025-06-16 23:15:15 +03:00
build-cloud-docker.sh Add grafana and loki 2025-06-22 18:09:59 +03:00
docker-compose.yaml Improve redisinsights config 2025-06-22 22:30:09 +03:00
LICENSE Initial commit 2025-06-07 21:00:24 +03:00
Makefile Add production images 2025-06-16 22:12:18 +03:00
README.md Simplify swarm deploy instruction 2025-06-17 23:00:10 +03:00
swarm-deploy.sh Improve swarm deploy 2025-06-17 22:46:51 +03:00
swarm.yaml Improve redisinsights config 2025-06-22 22:30:09 +03:00

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:

  1. Initialize Docker Swarm
    First, you need to initialize Docker Swarm. Run the command:

     docker swarm init
    
  2. Plan the Build
    Next, execute the script to plan the build:

     ./build-cloud-docker.sh plan-pocker git
    
  3. Create the Environment File
    Create an environment file based on the example located in cloud/test.env. Copy it and edit as needed:

     cp cloud/test.env /path/to/file.env
    
  4. Export environment

     export $(grep -v '^#' path/to/file.env | xargs)
    
  5. 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