Swarm is a web-based code review and collaboration tool for Perforce.
Questions tagged [swarm]
320 questions
0
votes
1 answer
Docker Swarm and Nginx + Varnish
I have a docker-compose file that contains Nginx, PhpFpm and Varnish.
My Nginx works this way:
User connect to the website => Nginx (443) => Varnish (80) => Nginx (8080) => Phpfpm:9000 or others..
My project work well with "depends_on" config inside…

GhostLexly
- 1
- 1
0
votes
1 answer
Docker Swarm security best practice
I am trying to create my docker swarm environment and my goal is to have all the best security practice related to docker swarm.
I am not really able to find everything I want about swarm security on topics like :
Authentification,
Encryption,
Users…
0
votes
0 answers
YAML file pulling image but without tag ( tag)
I have a YAML file which creates services by pulling images from repository as follows :-
services:
receiver:
image: 10.170.112.11:5000/receiver:1.0.0
user: "20001"
ports:
- "36200:36200"
deploy:
replicas: 3
…

Chetan Bhise
- 43
- 1
- 6
0
votes
1 answer
P4 command to fetch swarm review id?
Can someone please help with the perforce (p4v) command to fetch Swarm review id corresponding to a change list for which swarm review is raised already.
0
votes
1 answer
Swarm | Start a service to execute just one time then be deleted
I have a Swarm cluster and I have a service that will just create a container, execute one script and then delete the container. And currently it works fine, the container execute the script then delete him-self after the execution. But after a few…

Azykos
- 27
- 5
0
votes
1 answer
Create docker container, execute a script and delete the container
I want a command that, in first, will create a docker container, then execute a sql command on my database and then delete the container when it's done.
For the moment I have this Dockerfile :
FROM ubuntu:18.04
# copy database-file.sh
WORKDIR…

Azykos
- 27
- 5
0
votes
0 answers
Docker swarm is not correctly copying volumes across other worker nodes
I'm trying to build a Laravel application (LEMP Stack) in Docker Swarm. I'm using HaProxy, as described in Dockers networking documentation on ingress networks, to load balance from the manager nodes public IPV4 between all worker nodes.
My current…

Jaquarh
- 6,493
- 7
- 34
- 86
0
votes
1 answer
Grafana does not exist correctly name
I'm setting up a monitoring of Swarm using Grafana and Prometheus, I followed this link:
https://dockerswarm.rocks/swarmprom/
Everything working, except the display of the names.
As you can see below. No name, node or container is displayed…

Rafael Arcanjo
- 61
- 5
0
votes
1 answer
Can we use a DNS name for a service running on a Docker Swarm on my local system?
Say I have a Swarm of 3 nodes on my local system. And I create a service say Drupal with a replication of 3 in this swarm. Now, say each of the node has one container each running Drupal. Now when I have to access this in my browser I will have to…

adi
- 143
- 11
0
votes
1 answer
Traefik can't connect to acme servers
I'm trying to install Traefik on my Synology NAS (DS918+) with Docker.
Though, I'm getting an error that says that Traefik can't connect with the acme directory / server. (I replaced my domain with 'domain.com'
time="2021-03-15T15:41:47Z"…

JVT038
- 11
- 1
- 5
0
votes
1 answer
TeamCity not connecting to database while running in swarm mode
I'm trying to run a TeamCity in a Docker Swarm but it can not authenticate with the external AWS RDS Postgres instance. The strange part to me is that this issue does not occur when running as docker-compose. I've run this locally and on an AWS EC2…

Bill--
- 140
- 3
- 6
0
votes
1 answer
Perforce&Swarm: After Submitting a Change Files are Deleted from Workspace
If I submit a changelist in Perforce by creating a new swarm review, the changed files are deleted from my local workspace.
After the changelist is accepted the files reappear (get downloaded?) to my workspace again.
How can I submit a review but…

Marco Zielbauer
- 576
- 1
- 7
- 18
0
votes
1 answer
Get swarm node name from container
I have swarm nodes and we are deploying containers, from the containers I want to update records in database, like I want to update in my database, which node serve the request.
Is there any way to know using environment variable or something else,…

Nilesh
- 20,521
- 16
- 92
- 148
0
votes
0 answers
Kafka on docker swarm not working after a while
I'm using Kafka in a swarm environment.
I have been encountered that Kafka's logs show nothing and it seems everything is okay, but when you consume from a topic, get nothing from the broker.
This happens suddenly and I don't see anything from the…

Hamed Zarei
- 21
- 1
- 5
0
votes
1 answer
What is the best Way to run a CronJob in containerized django application with 2 or more Replicas
I am working on a project which is deployed on docker swarm as a service with 3 replicas. I want to run a simple management command to delete some rows from a table if the date has passed. I have written a django command for it, but want to make the…

Aniket Singla
- 555
- 1
- 5
- 20