diff --git a/roles/portainer/templates/docker-compose.yml.j2 b/roles/portainer/templates/docker-compose.yml.j2 index 39ab392..ead1419 100644 --- a/roles/portainer/templates/docker-compose.yml.j2 +++ b/roles/portainer/templates/docker-compose.yml.j2 @@ -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