Skip to content
Snippets Groups Projects
Verified Commit ab6b1abe authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Doc] Add depends_on in template

parent bc158c24
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,11 @@ services:
traefik.enable: true
traefik.frontend.rule: "Host:app.picasoft.net"
traefik.port: 80
# If the service has a database,
# tell Compose that it depends on it (i.e.)
# should be launched if the service is launched
depends_on:
- db
# This avoid restarting a container on
# startup when it has been explicitly stopped
restart: unless-stopped
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment