Some checks failed
Deploy to Server (Docker) / deploy (push) Failing after 48s
|
||
---|---|---|
.gitea/workflows | ||
cmd/task_manager | ||
config | ||
database/init | ||
internal | ||
vendor | ||
.dockerignore | ||
compose.yaml | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
README.md |
Running the Project with Docker
This section provides instructions to build and run the project using Docker.
Requirements
- Docker version 20.10 or later
- Docker Compose version 1.29 or later
Environment Variables
POSTGRES_USER
: Database username (default:user
)POSTGRES_PASSWORD
: Database password (default:password
)POSTGRES_DB
: Database name (default:appdb
)
Build and Run Instructions
- Clone the repository and navigate to the project root directory.
- Build and start the services using Docker Compose:
docker-compose up --build
- Access the application at
http://localhost:8080
.
Configuration
- The application binary is built using Go version 1.24.
- The database service uses the
postgres:latest
image.
Exposed Ports
- Application:
8080
(mapped to8080
on the host) - Database: Not exposed to the host
For further details, refer to the project documentation or contact the maintainers.