You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 28, 2023. It is now read-only.
Below I have presented compose file which was used for deploy.
I have used docker stack deploy --compose-file docker-compose.yml test comamnd
When I run container it work fine but with swarm it doesn't.
Below I have presented compose file which was used for deploy.
I have used docker stack deploy --compose-file docker-compose.yml test comamnd
When I run container it work fine but with swarm it doesn't.
version: "3.1"
services:
service:
image: alpine
command: /bin/sh -c "while true; do echo 'Hello world'; sleep 1s; done"
deploy:
mode: replicated
replicas: 1
update_config:
parallelism: 1
delay: 10s
restart_policy:
condition: any
delay: 10s
max_attempts: 5
window: 120s
logging:
driver: solarwinds/papertrail-plugin
options:
papertrail-url: ":"
papertrail-token: ""
networks:
default:
external:
name: internal