Commit 89f68ba117217fcafe75872fff1e46605bf9dda5
1 parent
4756f201
Exists in
master
Adicionando pasta rancher e reorganizando repositório
Showing
20 changed files
with
354 additions
and
354 deletions
Show diff stats
external-lb-docker.yml
| ... | ... | @@ -1,14 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -services: | |
| 3 | - lb-vlibras: | |
| 4 | - image: rancher/lb-service-haproxy:v0.6.2 | |
| 5 | - ports: | |
| 6 | - - 80:80/tcp | |
| 7 | - - 200:200/tcp | |
| 8 | - - 201:201/tcp | |
| 9 | - - 8080:8080/tcp | |
| 10 | - - 53306:53306/tcp | |
| 11 | - labels: | |
| 12 | - io.rancher.container.agent.role: environmentAdmin | |
| 13 | - io.rancher.container.create_agent: 'true' | |
| 14 | - io.rancher.scheduler.global: 'true' |
external-lb-rancher.yml
| ... | ... | @@ -1,92 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -services: | |
| 3 | - lb-vlibras: | |
| 4 | - start_on_create: true | |
| 5 | - lb_config: | |
| 6 | - certs: [] | |
| 7 | - port_rules: | |
| 8 | - - hostname: video.vlibras.gov.br | |
| 9 | - priority: 1 | |
| 10 | - protocol: http | |
| 11 | - service: video-portal/web | |
| 12 | - source_port: 80 | |
| 13 | - target_port: 8080 | |
| 14 | - - hostname: wiki.vlibras.gov.br | |
| 15 | - priority: 7 | |
| 16 | - protocol: http | |
| 17 | - service: wikilibras/web | |
| 18 | - source_port: 80 | |
| 19 | - target_port: 80 | |
| 20 | - - hostname: wiki.vlibras.gov.br | |
| 21 | - path: '' | |
| 22 | - priority: 8 | |
| 23 | - protocol: http | |
| 24 | - service: wikilibras/web | |
| 25 | - source_port: 200 | |
| 26 | - target_port: 200 | |
| 27 | - - hostname: wiki.vlibras.gov.br | |
| 28 | - priority: 9 | |
| 29 | - protocol: http | |
| 30 | - service: wikilibras/web | |
| 31 | - source_port: 201 | |
| 32 | - target_port: 201 | |
| 33 | - - hostname: api.videos.vlibras.gov.br | |
| 34 | - path: '' | |
| 35 | - priority: 10 | |
| 36 | - protocol: http | |
| 37 | - service: video/video | |
| 38 | - source_port: 8080 | |
| 39 | - target_port: 8080 | |
| 40 | - - hostname: api.videos.vlibras.gov.br | |
| 41 | - priority: 11 | |
| 42 | - protocol: http | |
| 43 | - service: video/video | |
| 44 | - source_port: 80 | |
| 45 | - target_port: 8080 | |
| 46 | - - priority: 12 | |
| 47 | - protocol: http | |
| 48 | - service: video-portal/web | |
| 49 | - source_port: 80 | |
| 50 | - target_port: 8080 | |
| 51 | - - priority: 13 | |
| 52 | - protocol: http | |
| 53 | - service: video/video | |
| 54 | - source_port: 8080 | |
| 55 | - target_port: 8080 | |
| 56 | - - hostname: dicionario.vlibras.gov.br | |
| 57 | - priority: 15 | |
| 58 | - protocol: http | |
| 59 | - service: Tradutor/api | |
| 60 | - source_port: 80 | |
| 61 | - target_port: 8080 | |
| 62 | - - hostname: traducao.vlibras.gov.br | |
| 63 | - priority: 16 | |
| 64 | - protocol: http | |
| 65 | - service: Tradutor/api | |
| 66 | - source_port: 80 | |
| 67 | - target_port: 8080 | |
| 68 | - - priority: 17 | |
| 69 | - protocol: tcp | |
| 70 | - service: video-portal/db | |
| 71 | - source_port: 53306 | |
| 72 | - target_port: 3306 | |
| 73 | - - hostname: dicionario.vlibras.gov.br | |
| 74 | - priority: 18 | |
| 75 | - protocol: http | |
| 76 | - service: video/rabbit | |
| 77 | - source_port: 8080 | |
| 78 | - target_port: 15672 | |
| 79 | - stickiness_policy: | |
| 80 | - cookie: lb-vlibras | |
| 81 | - domain: video.vlibras.gov.br | |
| 82 | - indirect: false | |
| 83 | - mode: insert | |
| 84 | - nocache: false | |
| 85 | - postonly: false | |
| 86 | - health_check: | |
| 87 | - healthy_threshold: 2 | |
| 88 | - response_timeout: 2000 | |
| 89 | - port: 42 | |
| 90 | - unhealthy_threshold: 3 | |
| 91 | - interval: 2000 | |
| 92 | - strategy: recreate |
portal-docker.yml
| ... | ... | @@ -1,45 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -volumes: | |
| 3 | - portal_db: | |
| 4 | - external: true | |
| 5 | - driver: 'null' | |
| 6 | - portal_data: | |
| 7 | - external: true | |
| 8 | - driver: 'null' | |
| 9 | - portal_logs: | |
| 10 | - external: true | |
| 11 | - driver: 'null' | |
| 12 | -services: | |
| 13 | - web: | |
| 14 | - image: hub.docker.planejamento.gov.br/vlibras/portal:1.0.3 | |
| 15 | - environment: | |
| 16 | - DATABASE_DB: vlibrasvideo | |
| 17 | - DATABASE_HOST: db | |
| 18 | - DATABASE_PASSWORD: | |
| 19 | - DATABASE_USER: vlibrasuser | |
| 20 | - DOMAIN_NAME: video.vlibras.gov.br | |
| 21 | - VLIBRAS_API: api.videos.vlibras.gov.br:8080 | |
| 22 | - VLIBRAS_API_URL: http://api.videos.vlibras.gov.br:8080/api/ | |
| 23 | - volumes: | |
| 24 | - - portal_data:/vlibraslportal/ | |
| 25 | - - portal_logs:/myapp/log | |
| 26 | - links: | |
| 27 | - - db:db | |
| 28 | - - redis:redis | |
| 29 | - labels: | |
| 30 | - io.rancher.container.pull_image: always | |
| 31 | - db: | |
| 32 | - image: hub.docker.planejamento.gov.br/capgov/mysql:5.6 | |
| 33 | - environment: | |
| 34 | - MYSQL_DATABASE: vlibrasvideo | |
| 35 | - MYSQL_PASSWORD: | |
| 36 | - MYSQL_ROOT_PASSWORD: | |
| 37 | - MYSQL_USER: vlibrasuser | |
| 38 | - volumes: | |
| 39 | - - portal_db:/var/lib/mysql | |
| 40 | - command: | |
| 41 | - - --general-log=1 | |
| 42 | - redis: | |
| 43 | - image: hub.docker.planejamento.gov.br/capgov/redis:3.2.8 | |
| 44 | - command: | |
| 45 | - - /etc/redis/redis.conf |
portal-rancher.yml
| ... | ... | @@ -0,0 +1,14 @@ |
| 1 | +version: '2' | |
| 2 | +services: | |
| 3 | + lb-vlibras: | |
| 4 | + image: rancher/lb-service-haproxy:v0.6.2 | |
| 5 | + ports: | |
| 6 | + - 80:80/tcp | |
| 7 | + - 200:200/tcp | |
| 8 | + - 201:201/tcp | |
| 9 | + - 8080:8080/tcp | |
| 10 | + - 53306:53306/tcp | |
| 11 | + labels: | |
| 12 | + io.rancher.container.agent.role: environmentAdmin | |
| 13 | + io.rancher.container.create_agent: 'true' | |
| 14 | + io.rancher.scheduler.global: 'true' | ... | ... |
| ... | ... | @@ -0,0 +1,92 @@ |
| 1 | +version: '2' | |
| 2 | +services: | |
| 3 | + lb-vlibras: | |
| 4 | + start_on_create: true | |
| 5 | + lb_config: | |
| 6 | + certs: [] | |
| 7 | + port_rules: | |
| 8 | + - hostname: video.vlibras.gov.br | |
| 9 | + priority: 1 | |
| 10 | + protocol: http | |
| 11 | + service: video-portal/web | |
| 12 | + source_port: 80 | |
| 13 | + target_port: 8080 | |
| 14 | + - hostname: wiki.vlibras.gov.br | |
| 15 | + priority: 7 | |
| 16 | + protocol: http | |
| 17 | + service: wikilibras/web | |
| 18 | + source_port: 80 | |
| 19 | + target_port: 80 | |
| 20 | + - hostname: wiki.vlibras.gov.br | |
| 21 | + path: '' | |
| 22 | + priority: 8 | |
| 23 | + protocol: http | |
| 24 | + service: wikilibras/web | |
| 25 | + source_port: 200 | |
| 26 | + target_port: 200 | |
| 27 | + - hostname: wiki.vlibras.gov.br | |
| 28 | + priority: 9 | |
| 29 | + protocol: http | |
| 30 | + service: wikilibras/web | |
| 31 | + source_port: 201 | |
| 32 | + target_port: 201 | |
| 33 | + - hostname: api.videos.vlibras.gov.br | |
| 34 | + path: '' | |
| 35 | + priority: 10 | |
| 36 | + protocol: http | |
| 37 | + service: video/video | |
| 38 | + source_port: 8080 | |
| 39 | + target_port: 8080 | |
| 40 | + - hostname: api.videos.vlibras.gov.br | |
| 41 | + priority: 11 | |
| 42 | + protocol: http | |
| 43 | + service: video/video | |
| 44 | + source_port: 80 | |
| 45 | + target_port: 8080 | |
| 46 | + - priority: 12 | |
| 47 | + protocol: http | |
| 48 | + service: video-portal/web | |
| 49 | + source_port: 80 | |
| 50 | + target_port: 8080 | |
| 51 | + - priority: 13 | |
| 52 | + protocol: http | |
| 53 | + service: video/video | |
| 54 | + source_port: 8080 | |
| 55 | + target_port: 8080 | |
| 56 | + - hostname: dicionario.vlibras.gov.br | |
| 57 | + priority: 15 | |
| 58 | + protocol: http | |
| 59 | + service: Tradutor/api | |
| 60 | + source_port: 80 | |
| 61 | + target_port: 8080 | |
| 62 | + - hostname: traducao.vlibras.gov.br | |
| 63 | + priority: 16 | |
| 64 | + protocol: http | |
| 65 | + service: Tradutor/api | |
| 66 | + source_port: 80 | |
| 67 | + target_port: 8080 | |
| 68 | + - priority: 17 | |
| 69 | + protocol: tcp | |
| 70 | + service: video-portal/db | |
| 71 | + source_port: 53306 | |
| 72 | + target_port: 3306 | |
| 73 | + - hostname: dicionario.vlibras.gov.br | |
| 74 | + priority: 18 | |
| 75 | + protocol: http | |
| 76 | + service: video/rabbit | |
| 77 | + source_port: 8080 | |
| 78 | + target_port: 15672 | |
| 79 | + stickiness_policy: | |
| 80 | + cookie: lb-vlibras | |
| 81 | + domain: video.vlibras.gov.br | |
| 82 | + indirect: false | |
| 83 | + mode: insert | |
| 84 | + nocache: false | |
| 85 | + postonly: false | |
| 86 | + health_check: | |
| 87 | + healthy_threshold: 2 | |
| 88 | + response_timeout: 2000 | |
| 89 | + port: 42 | |
| 90 | + unhealthy_threshold: 3 | |
| 91 | + interval: 2000 | |
| 92 | + strategy: recreate | ... | ... |
| ... | ... | @@ -0,0 +1,45 @@ |
| 1 | +version: '2' | |
| 2 | +volumes: | |
| 3 | + portal_db: | |
| 4 | + external: true | |
| 5 | + driver: 'null' | |
| 6 | + portal_data: | |
| 7 | + external: true | |
| 8 | + driver: 'null' | |
| 9 | + portal_logs: | |
| 10 | + external: true | |
| 11 | + driver: 'null' | |
| 12 | +services: | |
| 13 | + web: | |
| 14 | + image: hub.docker.planejamento.gov.br/vlibras/portal:1.0.3 | |
| 15 | + environment: | |
| 16 | + DATABASE_DB: vlibrasvideo | |
| 17 | + DATABASE_HOST: db | |
| 18 | + DATABASE_PASSWORD: | |
| 19 | + DATABASE_USER: vlibrasuser | |
| 20 | + DOMAIN_NAME: video.vlibras.gov.br | |
| 21 | + VLIBRAS_API: api.videos.vlibras.gov.br:8080 | |
| 22 | + VLIBRAS_API_URL: http://api.videos.vlibras.gov.br:8080/api/ | |
| 23 | + volumes: | |
| 24 | + - portal_data:/vlibraslportal/ | |
| 25 | + - portal_logs:/myapp/log | |
| 26 | + links: | |
| 27 | + - db:db | |
| 28 | + - redis:redis | |
| 29 | + labels: | |
| 30 | + io.rancher.container.pull_image: always | |
| 31 | + db: | |
| 32 | + image: hub.docker.planejamento.gov.br/capgov/mysql:5.6 | |
| 33 | + environment: | |
| 34 | + MYSQL_DATABASE: vlibrasvideo | |
| 35 | + MYSQL_PASSWORD: | |
| 36 | + MYSQL_ROOT_PASSWORD: | |
| 37 | + MYSQL_USER: vlibrasuser | |
| 38 | + volumes: | |
| 39 | + - portal_db:/var/lib/mysql | |
| 40 | + command: | |
| 41 | + - --general-log=1 | |
| 42 | + redis: | |
| 43 | + image: hub.docker.planejamento.gov.br/capgov/redis:3.2.8 | |
| 44 | + command: | |
| 45 | + - /etc/redis/redis.conf | ... | ... |
| ... | ... | @@ -0,0 +1,39 @@ |
| 1 | +version: '2' | |
| 2 | +volumes: | |
| 3 | + tradutor_logs: | |
| 4 | + external: true | |
| 5 | + driver: 'null' | |
| 6 | + tradutor_rabbitmq: | |
| 7 | + external: true | |
| 8 | + driver: 'null' | |
| 9 | + core_db: | |
| 10 | + external: true | |
| 11 | + driver: 'null' | |
| 12 | + tradutor_storage: | |
| 13 | + external: true | |
| 14 | + driver: 'null' | |
| 15 | + tradutor_bd: | |
| 16 | + external: true | |
| 17 | + driver: 'null' | |
| 18 | +services: | |
| 19 | + mongo: | |
| 20 | + image: hub.docker.planejamento.gov.br/capgov/mongodb | |
| 21 | + volumes: | |
| 22 | + - tradutor_bd:/data/db | |
| 23 | + rabbit: | |
| 24 | + image: hub.docker.planejamento.gov.br/capgov/rabbitmq:3.6.9-1-management | |
| 25 | + volumes: | |
| 26 | + - tradutor_rabbitmq:/var/lib/rabbitmq | |
| 27 | + api: | |
| 28 | + image: hub.docker.planejamento.gov.br/vlibras/tradutor:1.1.1 | |
| 29 | + volumes: | |
| 30 | + - core_db:/home/vlibras/storage/ | |
| 31 | + - tradutor_logs:/home/vlibras/translate-api/logs | |
| 32 | + - tradutor_storage:/storage | |
| 33 | + links: | |
| 34 | + - rabbit:rabbit | |
| 35 | + - mongo:mongo | |
| 36 | + ports: | |
| 37 | + - 8081:8080/tcp | |
| 38 | + labels: | |
| 39 | + io.rancher.container.pull_image: always | ... | ... |
| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | +version: '2' | |
| 2 | +volumes: | |
| 3 | + video_uploads: | |
| 4 | + external: true | |
| 5 | + driver: 'null' | |
| 6 | + video_bd: | |
| 7 | + external: true | |
| 8 | + driver: 'null' | |
| 9 | + videos_rabbitmq: | |
| 10 | + external: true | |
| 11 | + driver: 'null' | |
| 12 | + core_storage: | |
| 13 | + external: true | |
| 14 | + driver: 'null' | |
| 15 | + video_logs: | |
| 16 | + external: true | |
| 17 | + driver: 'null' | |
| 18 | + video_py_logs: | |
| 19 | + external: true | |
| 20 | + driver: 'null' | |
| 21 | +services: | |
| 22 | + mongo: | |
| 23 | + image: hub.docker.planejamento.gov.br/capgov/mongodb | |
| 24 | + volumes: | |
| 25 | + - video_bd:/data/db | |
| 26 | + rabbit: | |
| 27 | + image: hub.docker.planejamento.gov.br/capgov/rabbitmq:3.6.9-1-management | |
| 28 | + volumes: | |
| 29 | + - videos_rabbitmq:/var/lib/rabbitmq | |
| 30 | + video: | |
| 31 | + image: hub.docker.planejamento.gov.br/vlibras/video_container:1.0.2 | |
| 32 | + environment: | |
| 33 | + VLIBRAS_VIDEO_IP: api.videos.vlibras.gov.br | |
| 34 | + VLIBRAS_VIDEO_PORT: '8080' | |
| 35 | + volumes: | |
| 36 | + - core_storage:/storage/ | |
| 37 | + - video_logs:/home/vlibras/vlibras-api/logsystem/logs | |
| 38 | + - video_py_logs:/home/vlibras/log | |
| 39 | + - video_uploads:/home/vlibras/vlibras-api/uploads | |
| 40 | + links: | |
| 41 | + - mongo:mongo | |
| 42 | + - rabbit:rabbit | |
| 43 | + labels: | |
| 44 | + io.rancher.container.pull_image: always | ... | ... |
| ... | ... | @@ -0,0 +1,72 @@ |
| 1 | +version: '2' | |
| 2 | +volumes: | |
| 3 | + wikilibras_blender: | |
| 4 | + external: true | |
| 5 | + driver: 'null' | |
| 6 | + wikilibras-wikilibrasdbapi_public: | |
| 7 | + external: true | |
| 8 | + driver: 'null' | |
| 9 | + wikilibras_mongodb: | |
| 10 | + external: true | |
| 11 | + driver: 'null' | |
| 12 | + wikilibras-corretor_videos: | |
| 13 | + external: true | |
| 14 | + driver: 'null' | |
| 15 | + wikilibras-validador_videos: | |
| 16 | + external: true | |
| 17 | + driver: 'null' | |
| 18 | + wikilibras-wikilibrasv2_videos: | |
| 19 | + external: true | |
| 20 | + driver: 'null' | |
| 21 | + wikilibras_redis: | |
| 22 | + external: true | |
| 23 | + driver: 'null' | |
| 24 | + wikilibras-corretor_uploads: | |
| 25 | + external: true | |
| 26 | + driver: 'null' | |
| 27 | + wikilibras-wikilibrasv2_uploads: | |
| 28 | + external: true | |
| 29 | + driver: 'null' | |
| 30 | + wikilibras-core_users: | |
| 31 | + external: true | |
| 32 | + driver: 'null' | |
| 33 | + wikilibras_sinais: | |
| 34 | + external: true | |
| 35 | + driver: 'null' | |
| 36 | + wikilibras_avatar: | |
| 37 | + external: true | |
| 38 | + driver: 'null' | |
| 39 | + wikilibras_uploads: | |
| 40 | + external: true | |
| 41 | + driver: 'null' | |
| 42 | + wikilibras-validador_uploads: | |
| 43 | + external: true | |
| 44 | + driver: 'null' | |
| 45 | + wikilibras_apache2_logs: | |
| 46 | + external: true | |
| 47 | + driver: 'null' | |
| 48 | + wikilibras_postgresql: | |
| 49 | + external: true | |
| 50 | + driver: 'null' | |
| 51 | +services: | |
| 52 | + web: | |
| 53 | + image: hub.docker.planejamento.gov.br/vlibras/wikilibras:1.0.7 | |
| 54 | + stdin_open: true | |
| 55 | + volumes: | |
| 56 | + - wikilibras_postgresql:/var/lib/postgresql | |
| 57 | + - wikilibras_mongodb:/var/lib/mongodb | |
| 58 | + - wikilibras_redis:/var/lib/redis | |
| 59 | + - wikilibras_blender:/home/vlibras/container/wikilibrasdbapi/blender | |
| 60 | + - wikilibras_sinais:/home/vlibras/container/wikilibrasdbapi/sinais | |
| 61 | + - wikilibras_avatar:/home/vlibras/container/wikilibrasdbapi/avatar | |
| 62 | + - wikilibras_uploads:/home/vlibras/container/wikilibrasdbapi/uploads | |
| 63 | + - wikilibras_apache2_logs:/var/log/apache2 | |
| 64 | + - wikilibras-wikilibrasv2_videos:/home/vlibras/container/wikilibrasV2/view/videos | |
| 65 | + - wikilibras-corretor_videos:/home/vlibras/container/corretor_sinais/view/videos | |
| 66 | + - wikilibras-validador_videos:/home/vlibras/container/validador_sinais/view/videos | |
| 67 | + - wikilibras-wikilibrasv2_uploads:/home/vlibras/container/wikilibrasV2/view/uploads | |
| 68 | + - wikilibras-corretor_uploads:/home/vlibras/container/corretor_sinais/view/uploads | |
| 69 | + - wikilibras-validador_uploads:/home/vlibras/container/validador_sinais/view/uploads | |
| 70 | + - wikilibras-core_users:/home/vlibras/container/wikilibras-core/users | |
| 71 | + - wikilibras-wikilibrasdbapi_public:/home/vlibras/container/wikilibrasdbapi/public/users | |
| 72 | + tty: true | ... | ... |
| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | +version: '2' | |
| 2 | +services: | |
| 3 | + web: | |
| 4 | + scale: 1 | |
| 5 | + start_on_create: true | |
| 6 | + health_check: | |
| 7 | + healthy_threshold: 2 | |
| 8 | + response_timeout: 2000 | |
| 9 | + port: 80 | |
| 10 | + unhealthy_threshold: 3 | |
| 11 | + initializing_timeout: 1800000 | |
| 12 | + interval: 2000 | |
| 13 | + strategy: recreate | |
| 14 | + request_line: GET "http://wiki.vlibras.gov.br/pybossa/project/wikilibras/newtask" "HTTP/1.0" | |
| 15 | + reinitializing_timeout: 60000 | ... | ... |
tradutor-docker.yml
| ... | ... | @@ -1,39 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -volumes: | |
| 3 | - tradutor_logs: | |
| 4 | - external: true | |
| 5 | - driver: 'null' | |
| 6 | - tradutor_rabbitmq: | |
| 7 | - external: true | |
| 8 | - driver: 'null' | |
| 9 | - core_db: | |
| 10 | - external: true | |
| 11 | - driver: 'null' | |
| 12 | - tradutor_storage: | |
| 13 | - external: true | |
| 14 | - driver: 'null' | |
| 15 | - tradutor_bd: | |
| 16 | - external: true | |
| 17 | - driver: 'null' | |
| 18 | -services: | |
| 19 | - mongo: | |
| 20 | - image: hub.docker.planejamento.gov.br/capgov/mongodb | |
| 21 | - volumes: | |
| 22 | - - tradutor_bd:/data/db | |
| 23 | - rabbit: | |
| 24 | - image: hub.docker.planejamento.gov.br/capgov/rabbitmq:3.6.9-1-management | |
| 25 | - volumes: | |
| 26 | - - tradutor_rabbitmq:/var/lib/rabbitmq | |
| 27 | - api: | |
| 28 | - image: hub.docker.planejamento.gov.br/vlibras/tradutor:1.1.1 | |
| 29 | - volumes: | |
| 30 | - - core_db:/home/vlibras/storage/ | |
| 31 | - - tradutor_logs:/home/vlibras/translate-api/logs | |
| 32 | - - tradutor_storage:/storage | |
| 33 | - links: | |
| 34 | - - rabbit:rabbit | |
| 35 | - - mongo:mongo | |
| 36 | - ports: | |
| 37 | - - 8081:8080/tcp | |
| 38 | - labels: | |
| 39 | - io.rancher.container.pull_image: always |
tradutor-rancher.yml
video-docker.yml
| ... | ... | @@ -1,44 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -volumes: | |
| 3 | - video_uploads: | |
| 4 | - external: true | |
| 5 | - driver: 'null' | |
| 6 | - video_bd: | |
| 7 | - external: true | |
| 8 | - driver: 'null' | |
| 9 | - videos_rabbitmq: | |
| 10 | - external: true | |
| 11 | - driver: 'null' | |
| 12 | - core_storage: | |
| 13 | - external: true | |
| 14 | - driver: 'null' | |
| 15 | - video_logs: | |
| 16 | - external: true | |
| 17 | - driver: 'null' | |
| 18 | - video_py_logs: | |
| 19 | - external: true | |
| 20 | - driver: 'null' | |
| 21 | -services: | |
| 22 | - mongo: | |
| 23 | - image: hub.docker.planejamento.gov.br/capgov/mongodb | |
| 24 | - volumes: | |
| 25 | - - video_bd:/data/db | |
| 26 | - rabbit: | |
| 27 | - image: hub.docker.planejamento.gov.br/capgov/rabbitmq:3.6.9-1-management | |
| 28 | - volumes: | |
| 29 | - - videos_rabbitmq:/var/lib/rabbitmq | |
| 30 | - video: | |
| 31 | - image: hub.docker.planejamento.gov.br/vlibras/video_container:1.0.2 | |
| 32 | - environment: | |
| 33 | - VLIBRAS_VIDEO_IP: api.videos.vlibras.gov.br | |
| 34 | - VLIBRAS_VIDEO_PORT: '8080' | |
| 35 | - volumes: | |
| 36 | - - core_storage:/storage/ | |
| 37 | - - video_logs:/home/vlibras/vlibras-api/logsystem/logs | |
| 38 | - - video_py_logs:/home/vlibras/log | |
| 39 | - - video_uploads:/home/vlibras/vlibras-api/uploads | |
| 40 | - links: | |
| 41 | - - mongo:mongo | |
| 42 | - - rabbit:rabbit | |
| 43 | - labels: | |
| 44 | - io.rancher.container.pull_image: always |
video-rancher.yml
wikilibras-docker.yml
| ... | ... | @@ -1,72 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -volumes: | |
| 3 | - wikilibras_blender: | |
| 4 | - external: true | |
| 5 | - driver: 'null' | |
| 6 | - wikilibras-wikilibrasdbapi_public: | |
| 7 | - external: true | |
| 8 | - driver: 'null' | |
| 9 | - wikilibras_mongodb: | |
| 10 | - external: true | |
| 11 | - driver: 'null' | |
| 12 | - wikilibras-corretor_videos: | |
| 13 | - external: true | |
| 14 | - driver: 'null' | |
| 15 | - wikilibras-validador_videos: | |
| 16 | - external: true | |
| 17 | - driver: 'null' | |
| 18 | - wikilibras-wikilibrasv2_videos: | |
| 19 | - external: true | |
| 20 | - driver: 'null' | |
| 21 | - wikilibras_redis: | |
| 22 | - external: true | |
| 23 | - driver: 'null' | |
| 24 | - wikilibras-corretor_uploads: | |
| 25 | - external: true | |
| 26 | - driver: 'null' | |
| 27 | - wikilibras-wikilibrasv2_uploads: | |
| 28 | - external: true | |
| 29 | - driver: 'null' | |
| 30 | - wikilibras-core_users: | |
| 31 | - external: true | |
| 32 | - driver: 'null' | |
| 33 | - wikilibras_sinais: | |
| 34 | - external: true | |
| 35 | - driver: 'null' | |
| 36 | - wikilibras_avatar: | |
| 37 | - external: true | |
| 38 | - driver: 'null' | |
| 39 | - wikilibras_uploads: | |
| 40 | - external: true | |
| 41 | - driver: 'null' | |
| 42 | - wikilibras-validador_uploads: | |
| 43 | - external: true | |
| 44 | - driver: 'null' | |
| 45 | - wikilibras_apache2_logs: | |
| 46 | - external: true | |
| 47 | - driver: 'null' | |
| 48 | - wikilibras_postgresql: | |
| 49 | - external: true | |
| 50 | - driver: 'null' | |
| 51 | -services: | |
| 52 | - web: | |
| 53 | - image: hub.docker.planejamento.gov.br/vlibras/wikilibras:1.0.7 | |
| 54 | - stdin_open: true | |
| 55 | - volumes: | |
| 56 | - - wikilibras_postgresql:/var/lib/postgresql | |
| 57 | - - wikilibras_mongodb:/var/lib/mongodb | |
| 58 | - - wikilibras_redis:/var/lib/redis | |
| 59 | - - wikilibras_blender:/home/vlibras/container/wikilibrasdbapi/blender | |
| 60 | - - wikilibras_sinais:/home/vlibras/container/wikilibrasdbapi/sinais | |
| 61 | - - wikilibras_avatar:/home/vlibras/container/wikilibrasdbapi/avatar | |
| 62 | - - wikilibras_uploads:/home/vlibras/container/wikilibrasdbapi/uploads | |
| 63 | - - wikilibras_apache2_logs:/var/log/apache2 | |
| 64 | - - wikilibras-wikilibrasv2_videos:/home/vlibras/container/wikilibrasV2/view/videos | |
| 65 | - - wikilibras-corretor_videos:/home/vlibras/container/corretor_sinais/view/videos | |
| 66 | - - wikilibras-validador_videos:/home/vlibras/container/validador_sinais/view/videos | |
| 67 | - - wikilibras-wikilibrasv2_uploads:/home/vlibras/container/wikilibrasV2/view/uploads | |
| 68 | - - wikilibras-corretor_uploads:/home/vlibras/container/corretor_sinais/view/uploads | |
| 69 | - - wikilibras-validador_uploads:/home/vlibras/container/validador_sinais/view/uploads | |
| 70 | - - wikilibras-core_users:/home/vlibras/container/wikilibras-core/users | |
| 71 | - - wikilibras-wikilibrasdbapi_public:/home/vlibras/container/wikilibrasdbapi/public/users | |
| 72 | - tty: true |
wikilibras-rancher.yml
| ... | ... | @@ -1,15 +0,0 @@ |
| 1 | -version: '2' | |
| 2 | -services: | |
| 3 | - web: | |
| 4 | - scale: 1 | |
| 5 | - start_on_create: true | |
| 6 | - health_check: | |
| 7 | - healthy_threshold: 2 | |
| 8 | - response_timeout: 2000 | |
| 9 | - port: 80 | |
| 10 | - unhealthy_threshold: 3 | |
| 11 | - initializing_timeout: 1800000 | |
| 12 | - interval: 2000 | |
| 13 | - strategy: recreate | |
| 14 | - request_line: GET "http://wiki.vlibras.gov.br/pybossa/project/wikilibras/newtask" "HTTP/1.0" | |
| 15 | - reinitializing_timeout: 60000 |