init
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
aovantsev
2025-10-02 22:30:16 +03:00
parent fba4bb58f9
commit 0dcb5d9b87
7 changed files with 159 additions and 2 deletions

24
docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
version: '3.8'
services:
# Local Docker Registry for testing
registry:
image: registry:2
ports:
- "5000:5000"
volumes:
- registry-data:/var/lib/registry
environment:
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /var/lib/registry
# The counter application
counter-app:
build: .
ports:
- "8080:8080"
depends_on:
- registry
image: localhost:5000/counter:latest
volumes:
registry-data: