Advertisement
huezohuezo1990

fonavipo

Dec 16th, 2022 (edited)
420
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.47 KB | None | 0 0
  1. version: '3.9'
  2.  
  3. services:
  4.   redis:
  5.     image: 'docker.io/bitnami/redis:7.0'
  6.     environment:
  7.      - REDIS_PASSWORD=F0navip0123
  8.       - TZ=America/El_Salvador
  9.     ports:
  10.      - '6379:6379'
  11.     volumes:
  12.      - 'redis_data:/bitnami/redis/data'
  13.   security:
  14.     environment:
  15.      - PORT=8581
  16.       - ENVIRONMENT=development
  17.       - TZ=America/El_Salvador
  18.     image: sgd.fonavipo.gob.sv:5000/security:latest
  19.     build:
  20.       context: security/.
  21.       dockerfile: Dockerfile
  22.       args:
  23.      - YML=security.yml
  24.       - VERSION=1.0
  25.       - JAR=fonavipo-security-service-0.0.1-RELEASE.jar
  26.     deploy:
  27.       replicas: 1
  28.       resources:
  29.         limits:
  30.           cpus: "0.5"
  31.           memory: 1024M
  32.       restart_policy:
  33.         condition: on-failure
  34.     ports:
  35.      - "8581:8581"
  36.   core:
  37.     environment:
  38.      - PORT=8583
  39.       - ENVIRONMENT=development
  40.       - TZ=America/El_Salvador
  41.     image: sgd.fonavipo.gob.sv:5000/core:latest
  42.     build:
  43.       context: core/.
  44.       dockerfile: Dockerfile
  45.       args:
  46.      - YML=core.yml
  47.       - VERSION=1.0
  48.       - JAR=fonavipo-core-service-0.0.1-RELEASE.jar
  49.     deploy:
  50.       replicas: 1
  51.       resources:
  52.         limits:
  53.           cpus: "0.5"
  54.           memory: 1024M
  55.       restart_policy:
  56.         condition: on-failure
  57.     ports:
  58.      - "8583:8583"
  59.  
  60.   notification:
  61.     environment:
  62.      - PORT=8584
  63.       - ENVIRONMENT=development
  64.       - TZ=America/El_Salvador
  65.     image: sgd.fonavipo.gob.sv:5000/notification:latest
  66.     build:
  67.       context: notification/.
  68.       dockerfile: Dockerfile
  69.       args:
  70.      - YML=notification.yml
  71.       - VERSION=1.0
  72.       - JAR=fonavipo-notification-service-0.0.1-RELEASE.jar      
  73.     deploy:
  74.       replicas: 1
  75.       resources:
  76.         limits:
  77.           cpus: "0.5"
  78.           memory: 1024M
  79.       restart_policy:
  80.         condition: on-failure
  81.     ports:
  82.      - "8584:8584"
  83.  
  84.   report:
  85.     environment:
  86.      - PORT=8582
  87.       - ENVIRONMENT=development
  88.       - TZ=America/El_Salvador
  89.     image: sgd.fonavipo.gob.sv:5000/report:latest
  90.     build:
  91.       context: report/.
  92.       dockerfile: Dockerfile
  93.       args:
  94.      - YML=report.yml
  95.       - VERSION=1.0
  96.       - JAR=fonavipo-report-service-0.0.1-RELEASE.jar      
  97.     deploy:
  98.       replicas: 1
  99.       resources:
  100.         limits:
  101.           cpus: "0.5"
  102.           memory: 1024M
  103.       restart_policy:
  104.         condition: on-failure
  105.     ports:
  106.      - "8582:8582"
  107.   alert:
  108.     environment:
  109.      - PORT=8585
  110.       - ENVIRONMENT=development
  111.       - TZ=America/El_Salvador
  112.     image: sgd.fonavipo.gob.sv:5000/alert:latest
  113.     build:
  114.       context: alert/.
  115.       dockerfile: Dockerfile
  116.       args:
  117.      - YML=alert.yml
  118.       - VERSION=1.0
  119.       - JAR=fonavipo-get-notification-service-0.0.1-RELEASE.jar      
  120.     deploy:
  121.       replicas: 1
  122.       resources:
  123.         limits:
  124.           cpus: "0.5"
  125.           memory: 1024M
  126.       restart_policy:
  127.         condition: on-failure
  128.     ports:
  129.      - "8585:8585"
  130.  
  131.   catalogue:
  132.     environment:
  133.      - PORT=8586
  134.       - ENVIRONMENT=development
  135.       - TZ=America/El_Salvador
  136.     image: sgd.fonavipo.gob.sv:5000/catalogue:latest
  137.     build:
  138.       context: catalogue/.
  139.       dockerfile: Dockerfile
  140.       args:
  141.      - YML=catalogue.yml
  142.       - VERSION=1.0
  143.       - JAR=fonavipo-catalogue-service-0.0.1-RELEASE.jar      
  144.     deploy:
  145.       replicas: 1
  146.       resources:
  147.         limits:
  148.           cpus: "0.5"
  149.           memory: 1024M
  150.       restart_policy:
  151.         condition: on-failure
  152.     ports:
  153.      - "8586:8586"
  154.  
  155.  
  156.   website:
  157.     environment:
  158.      - PORT=8579
  159.       - ENVIRONMENT=development
  160.       - TZ=America/El_Salvador
  161.     image: sgd.fonavipo.gob.sv:5000/website:latest
  162.     build:
  163.       context: website/.
  164.       dockerfile: Dockerfile
  165.     deploy:
  166.       replicas: 1
  167.       resources:
  168.         limits:
  169.           cpus: "0.5"
  170.           memory: 1024M
  171.       restart_policy:
  172.         condition: on-failure
  173.     ports:
  174.      - "8579:80"
  175.   nginx:
  176.     environment:
  177.      - TZ=America/El_Salvador
  178.       - ENVIRONMENT=development
  179.       - NGINX_HOST=0.0.0.0
  180.       - NGINX_PORT=80
  181.     image: sgd.fonavipo.gob.sv:5000/nginx:prod
  182.     build:
  183.       context: nginx/.
  184.       dockerfile: Dockerfile
  185.     deploy:
  186.       replicas: 1
  187.       resources:
  188.         limits:
  189.           cpus: "1.5"
  190.           memory: 2048M
  191.       restart_policy:
  192.         condition: on-failure
  193.     ports:
  194.      - "9090:9090"
  195.       - "9191:9191"
  196.  
  197.  
  198. volumes:
  199.   redis_data:
  200.     driver: local
  201.  
  202.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement