ulvis.paste.net

Paste Search Dynamic
Recent pastes
mysql services
  1. version: "2"
  2.  
  3. services:
  4.  
  5. mysql:
  6.   image: mysql:5.7
  7.   container_name: rgsistema-mysql
  8.   working_dir: /application
  9.   volumes:
  10.     - .:/application
  11.   environment:
  12.     - MYSQL_ROOT_PASSWORD=rgsistema
  13.     - MYSQL_DATABASE=rgsistema
  14.     - MYSQL_USER=rgsistema
  15.     - MYSQL_PASSWORD=rgsistema
  16.   ports:
  17.     - "3306:3306"
  18.  
  19. webserver:
  20.   image: nginx:alpine
  21.   container_name: rgsistema-webserver
  22.   working_dir: /application
  23.   volumes:
  24.     - ./rgsistema/:/application
  25.     - ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
  26.   ports:
  27.     - "8888:80"
  28.   links:
  29.     - mysql
  30.  
  31. php-fpm:
  32.   build: phpdocker/php-fpm
  33.   container_name: rgsistema-php-fpm
  34.   working_dir: /application
  35.   volumes:
  36.     - ./rgsistema/:/application
  37.     - ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.2/fpm/conf.d/99-overrides.ini
  38.   links:
  39.     - mysql
  40.        
  41. SQLSTATE[HY000] [2002] Connection refused
  42.        
  43. DB_CONNECTION=mysql
  44. DB_HOST=127.0.0.1
  45. DB_PORT=3306
  46. DB_DATABASE=rgsistema
  47. DB_USERNAME=rgsistema
  48. DB_PASSWORD=rgsistema
  49.        
  50. OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "ping": executable file not found in $PATH": unknown
  51. insira o código aqui
Parsed in 0.003 seconds