[cahnge IP swarm (public)]
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
#* SWARM
|
#* SWARM
|
||||||
|
|
||||||
docker_swarm_addr: 100.96.125.190
|
docker_swarm_addr: 5.135.181.11
|
||||||
docker_swarm_interface: wt0
|
docker_swarm_interface: eno0
|
||||||
pip_install_packages:
|
pip_install_packages:
|
||||||
- docker
|
- docker
|
||||||
- jsondiff
|
- jsondiff
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
#* SWARM
|
#* SWARM
|
||||||
|
|
||||||
|
|
||||||
docker_swarm_addr: 100.96.212.100
|
docker_swarm_addr: 163.172.209.36
|
||||||
docker_swarm_interface: wt0
|
docker_swarm_interface: enp0s20
|
||||||
pip_install_packages:
|
pip_install_packages:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
|
|||||||
80
swarm.yml
80
swarm.yml
@@ -249,86 +249,6 @@
|
|||||||
- "traefik.http.routers.whoami-https.middlewares=privatevpn"
|
- "traefik.http.routers.whoami-https.middlewares=privatevpn"
|
||||||
networks:
|
networks:
|
||||||
- public
|
- public
|
||||||
swarmpit:
|
|
||||||
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
|
|
||||||
networks:
|
|
||||||
- public
|
|
||||||
- agent_network
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpus: '0.50'
|
|
||||||
memory: 1024M
|
|
||||||
reservations:
|
|
||||||
cpus: '0.25'
|
|
||||||
memory: 512M
|
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.role == manager
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.swarmpit-https.rule=Host(`swarmpit.jingoh.private`)"
|
|
||||||
- "traefik.http.routers.swarmpit-https.entrypoints=websecure"
|
|
||||||
- "traefik.http.routers.swarmpit-https.service=swarmpit"
|
|
||||||
- "traefik.http.services.swarmpit.loadbalancer.server.port=8080"
|
|
||||||
- "traefik.http.routers.swarmpit-https.tls=true"
|
|
||||||
- "traefik.http.routers.swarmpit-https.middlewares=privatevpn"
|
|
||||||
db:
|
|
||||||
image: couchdb:2.3.1
|
|
||||||
volumes:
|
|
||||||
- db-data:/opt/couchdb/data
|
|
||||||
networks:
|
|
||||||
- agent_network
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpus: '0.30'
|
|
||||||
memory: 512M
|
|
||||||
reservations:
|
|
||||||
cpus: '0.15'
|
|
||||||
memory: 256M
|
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.role == manager
|
|
||||||
influxdb:
|
|
||||||
image: influxdb:1.7
|
|
||||||
volumes:
|
|
||||||
- influx-data:/var/lib/influxdb
|
|
||||||
networks:
|
|
||||||
- agent_network
|
|
||||||
deploy:
|
|
||||||
resources:
|
|
||||||
reservations:
|
|
||||||
cpus: '0.3'
|
|
||||||
memory: 128M
|
|
||||||
limits:
|
|
||||||
cpus: '0.6'
|
|
||||||
memory: 512M
|
|
||||||
placement:
|
|
||||||
constraints:
|
|
||||||
- node.role == manager
|
|
||||||
agent:
|
|
||||||
image: swarmpit/agent:latest
|
|
||||||
environment:
|
|
||||||
- DOCKER_API_VERSION=1.35
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
networks:
|
|
||||||
- agent_network
|
|
||||||
deploy:
|
|
||||||
mode: global
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpus: '0.10'
|
|
||||||
memory: 64M
|
|
||||||
reservations:
|
|
||||||
cpus: '0.05'
|
|
||||||
memory: 32M
|
|
||||||
networks:
|
networks:
|
||||||
public:
|
public:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user