- 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.
117 lines
2.4 KiB
YAML
Executable File
117 lines
2.4 KiB
YAML
Executable File
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
|