Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose does not support 'deploy' configuration #1

Open
flyisland opened this issue Sep 10, 2019 · 2 comments
Open

Compose does not support 'deploy' configuration #1

flyisland opened this issue Sep 10, 2019 · 2 comments

Comments

@flyisland
Copy link

Got below warming while executing docker-compose -f PubSubStandard_singleNode.yml up -d

WARNING: Some services (primary) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use docker stack deploy to deploy to a swarm.

@chadfrost
Copy link

I get the same thing as @flyisland -- on Mac, 10.14.6 (Mojave) running VirtualBox 6.1.6 and Docker version 19.03.8, build afacb8b.

@hholst80
Copy link

hholst80 commented Sep 3, 2020

I suggest just getting rid of this in this cookbook receipt. docker stack would complain on a 'restart: ...' clause which would be specific to docker-compose so if this setting is essential (I think not) we need to provide both kind of configuration files. One for compose and one for Swarm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants