Skip to content

Commit ed5cf1d

Browse files
init
1 parent ca7e76b commit ed5cf1d

4 files changed

Lines changed: 6 additions & 1 deletion

File tree

ansible/api-core.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- hosts: charon
66
- hosts: rabbitmq
77
- hosts: redis
8+
- hosts: swarm-manager
89

910
- hosts: api
1011
vars_files:

ansible/group_vars/alpha-api.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ container_envs: >
5757
-e S3_CONTEXT_RESOURCE_BUCKET={{ api_s3_context_bucket }}
5858
-e USER_CONTENT_DOMAIN={{ user_content_domain }}
5959
-e DOCKER_IMAGE_BUILDER_WEAVE_PATH={{ weave_path }}
60-
60+
-e SWARM_HOST=http://{{ hostvars[groups['swarm-manager'][0]]['ansible_default_ipv4']['address'] }}:2375
61+
-e CONTAINER_MEMORY_LIMIT_BYTES=100000000
6162
container_run_opts: >
6263
-d
6364
-P

ansible/group_vars/alpha-workers.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ container_envs: >
5454
-e S3_CONTEXT_RESOURCE_BUCKET={{ api_s3_context_bucket }}
5555
-e USER_CONTENT_DOMAIN={{ user_content_domain }}
5656
-e DOCKER_IMAGE_BUILDER_WEAVE_PATH={{ weave_path }}
57+
-e SWARM_HOST=http://{{ hostvars[groups['swarm-manager'][0]]['ansible_default_ipv4']['address'] }}:2375
58+
-e CONTAINER_MEMORY_LIMIT_BYTES=100000000
5759
5860
container_run_opts: >
5961
-d

ansible/workers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- hosts: charon
66
- hosts: rabbitmq
77
- hosts: redis
8+
- hosts: swarm-manager
89

910
- hosts: api
1011
vars_files:

0 commit comments

Comments
 (0)