Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Portainer Template Repos in one file

License

NotificationsYou must be signed in to change notification settings

nchekwa/docker-swarm-cookbook

Repository files navigation

Docker Swarm Cookbook Collection

Rules:

Services

Always:

  • Always add a name to container services.
  • Always add a container_name to container services (excluding swarmStacks which not allow this).
  • Always conainer_name must include project name ie. -.
  • Always add a restart policy to container services.
  • Always use a volume to container services.
  • Always use database full name, do not use shortcut like 'db' - use ie mysql. There are projects which are using multiple databases types.

Try:

  • Try to add a healthcheck to container services.
  • Try to add traefik label to container services which should be access in public network.
  • Try to add a network to container services.

Volume

  1. Create a volume always with a name.
  2. Use syntax naming convention for volume: -- ie. langflow-postgres-data.

About

Portainer Template Repos in one file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp