Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 063f8b3d authored by Arthur BOUDREAULT's avatar Arthur BOUDREAULT
Browse files

feat: template docker compose file

parent 70cf431d
No related branches found
No related tags found
1 merge request!49Draft: Resolve "feat: integrate containers into YunoHost"
version: "{{ docker_compose_version }}"
services:
{% for app in docker_compose_apps %}
{{ app.name }}:
image: "{{ app.image }}"
{% if app.ports %}
ports:
{% for port in app.ports %}
- "{{ port }}"
{% endfor %}
{% endif %}
{% if app.volumes %}
volumes:
{% for volume in app.volumes %}
- {{ volume }}
{% endfor %}
{% endif %}
{% if app.environment %}
environment:
{% for var in app.environment %}
- {{ var }}
{% endfor %}
{% endif %}
{% endfor %}
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