🚀 chore: add initial project setup with docker, go modules, and basic api structure

Add docker configuration for building and running the application, including a dockerfile and docker-compose.yml. Set up go modules with dependencies and create the basic api structure with main.go, models, and wrapper files. Include .dockerignore and .gitignore files to manage ignored files and directories. Add constants for ipatool path and global flags.
This commit is contained in:
2026-03-10 03:41:41 +03:00
commit d763b0b652
13 changed files with 565 additions and 0 deletions

20
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
version: "3.8"
name: ${CONTAINER_NAME}
services:
ipago:
build:
context: .
dockerfile: Dockerfile
restart: always
container_name: ipago-${CONTAINER_NAME}
hostname: ipago
environment:
- CONTAINER_NAME=${CONTAINER_NAME}
- PORT=${PORT}
ports:
- "${PORT}:8000"
networks:
default:
name: ipago