basic frontend #3

Merged
alexandvvvvv merged 14 commits from feature/base into main 2025-10-03 16:25:14 +00:00
Showing only changes of commit 70499a9f39 - Show all commits

View File

@@ -19,8 +19,15 @@ steps:
- docker stop counter-app || true
- docker rm counter-app || true
# Run the new container
- docker run -d --name counter-app -p 8080:8080 localhost:5000/counter:latest
# Run the new container with environment variables
- docker run -d --name counter-app \
-e ENVIRONMENT=production \
-e JWT_SECRET=your-super-secure-production-secret \
-e DATABASE_URL=postgres://postgres:password@localhost:5432/counter_db?sslmode=disable \
-e GIN_MODE=release \
-e LOG_LEVEL=warn \
-p 8080:8080 \
localhost:5000/counter:latest
volumes:
- name: dockersock
@@ -31,3 +38,7 @@ trigger:
branch:
- main
- feature/*
event:
- push
action:
- push