docker compose: remove a constraint.

This commit is contained in:
Andrea Dell'Amico 2022-05-05 16:23:58 +02:00
parent 89dad1fdbb
commit 9cdfca83cf
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 3 deletions

View File

@ -15,7 +15,7 @@ services:
{{ epasmed_docker_service_server_name }}: {{ epasmed_docker_service_server_name }}:
image: {{ epasmed_docker_server_image }} image: {{ epasmed_docker_server_image }}
environment: environment:
- _JAVA_OPTIONS=-Xmx512m -Xms256m - _JAVA_OPTIONS=-Xmx512m -Xms256m
- SPRING_PROFILES_ACTIVE={{epasmed_spring_profile_active}} - SPRING_PROFILES_ACTIVE={{epasmed_spring_profile_active}}
- SPRING_MAIL_HOST={{epasmed_spring_mail_host}} - SPRING_MAIL_HOST={{epasmed_spring_mail_host}}
- SPRING_MAIL_PORT={{epasmed_spring_mail_port}} - SPRING_MAIL_PORT={{epasmed_spring_mail_port}}
@ -58,7 +58,6 @@ services:
placement: placement:
constraints: constraints:
- node.role == worker - node.role == worker
- {{ epasmed_node_constraints }}
restart_policy: restart_policy:
condition: on-failure condition: on-failure
delay: 5s delay: 5s
@ -74,4 +73,4 @@ services:
service: epasmed-postgresql service: epasmed-postgresql
{% endif %} {% endif %}