Обновить roles/portainer/templates/docker-compose.yml.j2
This commit is contained in:
parent
99450a8264
commit
e0f4779a62
@ -5,16 +5,14 @@ services:
|
|||||||
restart: {{ portainer_restart_policy }}
|
restart: {{ portainer_restart_policy }}
|
||||||
ports:
|
ports:
|
||||||
- "{{ portainer_https_port }}:9443"
|
- "{{ portainer_https_port }}:9443"
|
||||||
{% if portainer_http_port is defined and portainer_http_port %}
|
|
||||||
- "{{ portainer_http_port }}:8000"
|
- "{{ portainer_http_port }}:8000"
|
||||||
{% endif %}
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- {{ portainer_data_dir }}:/data
|
- {{ portainer_data_dir }}:/data
|
||||||
- {{ portainer_certs_dir }}:/certs
|
- {{ portainer_certs_dir }}:/certs
|
||||||
- {{ portainer_logs_dir }}:/logs
|
- {{ portainer_logs_dir }}:/logs
|
||||||
environment:
|
environment:
|
||||||
- TZ={{ timezone }}
|
TZ: "{{ timezone }}"
|
||||||
networks:
|
networks:
|
||||||
- portainer_net
|
- portainer_net
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user