SHARE
TWEET

Untitled

a guest Apr 2nd, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # export MYSQL_DATABASE_PASSWORD=pandora_password_here
  2. # export MYSQL_ROOT_PWD=root_password_here
  3. # Required external configs pandora_console_ssl to enable ssl support
  4. version: '3.3'
  5.  
  6. services:
  7.   mysql:
  8.     image: registry.gitlab.com/tekkatron/godinfra/pandorafms-mysql:7.0NG.729-181205.7886
  9.     hostname: mysql
  10.     environment:
  11.       TZ: America/Colombia/Bogota
  12.       MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PWD}
  13.       MYSQL_DATABASE: pandora
  14.       MYSQL_USER: pandora
  15.       MYSQL_PASSWORD: ${MYSQL_DATABASE_PASSWORD}
  16.       MYSQL_ROOT_HOST: "%"
  17.     deploy:
  18.       mode: replicated
  19.       replicas: 1
  20.       restart_policy:
  21.         condition: any
  22.         max_attempts: 3
  23.         window: 120s
  24.     networks:
  25.       net:
  26.         aliases:
  27.           - mysql
  28.     volumes:
  29.         - db_data:/var/lib/mysql      
  30.   server:
  31.     image: registry.gitlab.com/tekkatron/godinfra/pandorafms-server:7.0NG.729-181205.7886
  32.     hostname: pandorafms-server
  33.     depends_on:
  34.       - mysql
  35.     ports:
  36.       - "41121:41121"
  37.     environment:
  38.       TZ: America/Colombia/Bogota
  39.       MYSQL_PORT_3306_TCP_ADDR: mysql
  40.       MYSQL_PORT_3306_TCP_PORT: 3306
  41.       PANDORA_DB_HOST: mysql
  42.       PANDORA_DB_USER: pandora
  43.       PANDORA_DB_PASSWORD: ${MYSQL_DATABASE_PASSWORD}
  44.       PANDORA_DB_NAME: pandora
  45.       PANDORA_SMTP_HOST: mail.exa.unicen.edu.ar
  46.       PANDORA_SMTP_PORT: 25
  47.       PANDORA_SMTP_FROM: pandora@exa.unicen.edu.ar
  48.     deploy:
  49.       mode: replicated
  50.       replicas: 1
  51.       restart_policy:
  52.         condition: any
  53.         max_attempts: 3
  54.         window: 120s
  55.     networks:
  56.       net:
  57.         aliases:
  58.           - pandorafms-server
  59.   web:
  60.     image: registry.gitlab.com/tekkatron/godinfra/pandorafms-console:7.0NG.729-181205.7886
  61.     hostname: monitoring.exa.unicen.edu.ar
  62.     depends_on:
  63.       - mysql
  64.     environment:
  65.       TZ: America/Colombia/Bogota
  66.       PANDORA_DB_HOST: mysql
  67.       PANDORA_DB_USER: pandora
  68.       PANDORA_DB_PASSWORD: ${MYSQL_DATABASE_PASSWORD}
  69.       PANDORA_DB_NAME: pandora
  70.     ports:
  71.       - 8080:80
  72.     networks:
  73.       net:
  74.         aliases:
  75.           - pandorafms-console
  76.       rproxy:
  77.         aliases:
  78.           - monitoring
  79.     deploy:
  80.       mode: replicated
  81.       replicas: 1
  82.       restart_policy:
  83.         condition: any
  84.         max_attempts: 3
  85.         window: 120s
  86. volumes:
  87.     db_data:
  88. networks:
  89.     net:
  90.     rproxy:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top