feat: Implement comprehensive service management features

- Added new components for managing services, including creation, editing, and listing.
- Introduced stack management functionalities, allowing users to create, edit, and view stacks.
- Implemented user management features, enabling user creation, editing, and listing.
- Enhanced volume management with create and info functionalities.
- Integrated network management capabilities, including listing and viewing networks.
- Developed task management features for viewing and listing tasks.
- Added support for Docker registry interactions, including authentication and repository management.
- Implemented error handling and user feedback mechanisms throughout the application.
- Established a robust routing system for navigating between different components and views.
- Enhanced the overall user experience with improved UI components and state management.
This commit is contained in:
2025-12-20 19:13:09 -05:00
parent b0f3230631
commit 090796be3c
285 changed files with 29872 additions and 0 deletions

View File

@@ -0,0 +1,116 @@
version: '3.3'
#name: swarmpit
services:
app:
image: swarmpit/swarmpit:latest
environment:
- SWARMPIT_DB=http://db:5984
- SWARMPIT_INFLUXDB=http://influxdb:8086
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 888:8080
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 60s
timeout: 10s
retries: 3
networks:
- proxy
- swarmpit-internal
deploy:
resources:
limits:
cpus: '0.50'
memory: 1024M
reservations:
cpus: '0.25'
memory: 512M
placement:
constraints:
- node.role == manager
db:
image: couchdb:2.3.1
volumes:
- /mnt/docker/local/swarmpit/data/couchdb:/opt/couchdb/data
networks:
- swarmpit-internal
deploy:
resources:
limits:
cpus: '0.30'
memory: 256M
reservations:
cpus: '0.15'
memory: 128M
influxdb:
image: influxdb:latest
volumes:
- /mnt/docker/local/swarmpit/data/influxdb:/var/lib/influxdb
networks:
- swarmpit-internal
deploy:
resources:
limits:
cpus: '0.60'
memory: 512M
reservations:
cpus: '0.30'
memory: 128M
agentarm:
image: swarmpit/agent:2.1
#platform: linux/arm64
environment:
- DOCKER_API_VERSION=1.35
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- swarmpit-internal
deploy:
mode: global
labels:
swarmpit.agent: 'true'
placement:
constraints:
- node.labels.arch == aarch64
resources:
limits:
cpus: '0.10'
memory: 64M
reservations:
cpus: '0.05'
memory: 32M
agentx86:
image: swarmpit/agent:latest
#platform: linux/amd64
environment:
- DOCKER_API_VERSION=1.35
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- swarmpit-internal
deploy:
mode: global
labels:
swarmpit.agent: 'true'
placement:
constraints:
- node.labels.arch == x86
resources:
limits:
cpus: '0.10'
memory: 64M
reservations:
cpus: '0.05'
memory: 32M
networks:
swarmpit-internal:
external: true
proxy:
external: true