Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4.  
  5.  
  6.  
  7. # Main Spring boot application
  8.  
  9. # You can test it by invoking Http Verb (or using postman) at: http://localhost:8080
  10.  
  11. admin:
  12.  
  13. image: 'psacr.azurecr.io/admin-application-server:1.0.0-SNAPSHOT'
  14.  
  15.  
  16.  
  17. environment:
  18.  
  19. HOST: 'http://mggl-albotst02-new.asifarm.it:9090/'
  20.  
  21. SPRING_MAIL_HOST: 'smtp-jcity.asifarm.it'
  22.  
  23. SPRING_MAIL_USERNAME: ''
  24.  
  25. SPRING_MAIL_PASSWORD: ''
  26.  
  27. ports:
  28.  
  29. #- '8086:8083'
  30.  
  31. depends_on:
  32.  
  33. - api
  34.  
  35. api:
  36.  
  37. image: 'psacr.azurecr.io/anpr-service:1.0.0-SNAPSHOT'
  38.  
  39. #command: 'mvn clean spring-boot:run'
  40.  
  41. #working_dir: /usr/app
  42.  
  43. environment:
  44.  
  45. HOST: 'http://mggl-albotst02-new.asifarm.it:9090/'
  46.  
  47. SPRING_BOOT_ADMIN_CLIENT_URL: 'http://admin:8083/admin'
  48.  
  49. ENTE_BOLLO_DIRITTI: '26'
  50.  
  51. volumes:
  52.  
  53. - '/opt/ente/E156-config.properties:/opt/ente/E156-config.properties'
  54.  
  55. - '/opt/certificati/100004/100004-CO-0000.p12:/opt/certificati/100004/100004-CO-0000.p12'
  56.  
  57. #ports:
  58.  
  59. #- '9091:9091'
  60.  
  61. #- '5005:5005'
  62.  
  63. depends_on:
  64.  
  65. - postgres
  66.  
  67.  
  68.  
  69. postgres:
  70.  
  71. image: 'postgres:9.2'
  72.  
  73. volumes:
  74.  
  75. - '/opt/dump-db/:/var/lib/postgresql/data/'
  76.  
  77. environment:
  78.  
  79. - POSTGRES_USER=lportal
  80.  
  81. - POSTGRES_PASSWORD=lportal
  82.  
  83. - POSTGRES_DB=lportal
  84.  
  85. #ports:
  86.  
  87. #- '5431:5432'
  88.  
  89.  
  90.  
  91. # Custom Apache
  92.  
  93. apache:
  94.  
  95. image: 'psacr.azurecr.io/jcity-httpd:2.4.39'
  96.  
  97. ports:
  98.  
  99. - '80:80' # http
  100.  
  101. - '443:443' # https
  102.  
  103. volumes:
  104.  
  105. - './myserver.conf:/usr/local/apache2/conf/extra/docker-map.conf' ## cambiare in base ai percorsi
  106. - '/opt/ssl/server/server.crt:/usr/local/apache2/conf/server.crt'
  107. - '/opt/ssl/server/serverPrivateKey.key:/usr/local/apache2/conf/serverPrivateKey.key'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement