File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 git :
66 branch : docker
77 repo_clone_url : https://github.com/live-codes/livecodes
8- build_command : docker compose build
9- run_command : docker compose up -d
8+ build_command : chmod +x ./server/scripts/install_docker_ubuntu.sh && ./server/scripts/install_docker_ubuntu.sh
9+ run_command : docker compose up --build - d
1010 http_port : 443
1111 health_check :
1212 http_path : /
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Update package lists
4+ sudo apt update
5+
6+ # Install Docker
7+ sudo apt install -y ca-certificates curl gnupg lsb-release
8+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
9+ echo " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $( lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
10+ sudo apt update
11+ sudo apt install -y docker-ce docker-ce-cli containerd.io
12+
13+ # Add current user to docker group
14+ sudo usermod -aG docker $USER
15+ newgrp docker # Apply group changes immediately
16+
17+ # Install Docker Compose
18+ sudo apt install -y docker-compose
19+
20+ # Install Git
21+ sudo apt install -y git
You can’t perform that action at this time.
0 commit comments