Обновить roles/portainer/templates/docker-compose.yml.j2

This commit is contained in:
zailon 2026-05-27 14:35:25 +05:00
parent 99450a8264
commit e0f4779a62

View File

@ -5,16 +5,14 @@ services:
restart: {{ portainer_restart_policy }}
ports:
- "{{ portainer_https_port }}:9443"
{% if portainer_http_port is defined and portainer_http_port %}
- "{{ portainer_http_port }}:8000"
{% endif %}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- {{ portainer_data_dir }}:/data
- {{ portainer_certs_dir }}:/certs
- {{ portainer_logs_dir }}:/logs
environment:
- TZ={{ timezone }}
TZ: "{{ timezone }}"
networks:
- portainer_net