Files
counter/docker-compose.yml
aovantsev 0dcb5d9b87
Some checks reported errors
continuous-integration/drone/push Build encountered an error
init
2025-10-02 22:30:16 +03:00

25 lines
455 B
YAML

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: