Advertisement
Guest User

Untitled

a guest
Feb 14th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.14 KB | None | 0 0
  1. version: '3.1'
  2. services:
  3.   nginx:
  4.     image: nginx
  5.     ports:
  6.      - 80:80
  7.     volumes:
  8.      - ./backend:/backend
  9.       - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
  10.   php:
  11.     image: php:7.2-fpm-alpine
  12.     volumes:
  13.      - ./backend:/backend
  14.   pgsql:
  15.     image: postgres
  16.     restart: always
  17.     ports:
  18.        - 5432:5432
  19.     environment:
  20.         POSTGRES_USER: developer
  21.         POSTGRES_PASSWORD: uVK4PBfdNBncWLbmZMKG
  22.         POSTGRES_DB: chat
  23.  
  24.   adminer:
  25.     image: adminer
  26.     restart: always
  27.     ports:
  28.      - 81:8080
  29.  
  30.   redis:
  31.     image: redis
  32.     ports:
  33.      - "6379:6379"
  34.     volumes:
  35.      - ./redis:/data
  36.     entrypoint: redis-server --appendonly yes
  37.     restart: always
  38.  
  39.   rabbitmq1:
  40.     image: rabbitmq:3-management
  41.     hostname: rabbitmq1
  42.  
  43.   node:
  44.     image: "node:8"
  45.     user: "node"
  46.     working_dir: /home/node/app
  47.     environment:
  48.      - NODE_ENV=production
  49.     volumes:
  50.      - ./:/home/node/app
  51.     expose:
  52.      - "8081"
  53.     command: "npm start"
  54.  
  55.   composer:
  56.     restart: 'no'
  57.     image: composer/composer:php7
  58.     command: install
  59.     volumes:
  60.      - ./backend:/backend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement