Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.6'
- services:
- nginx:
- image: nginx:alpine
- container_name: ohwo-nginx
- working_dir: /application
- ports:
- - 80:80
- - 443:443
- volumes:
- - ./nginx_local/conf.d:/etc/nginx/conf.d/
- depends_on:
- - php-fpm
- php-fpm:
- build:
- context: ./
- container_name: ohwo-php
- hostname: php-fpm
- volumes:
- - .:/application
- links:
- - mariadb
- depends_on:
- - mariadb
- mariadb:
- image: mariadb:10.2
- container_name: ohwo-mariadb
- hostname: mariadb
- working_dir: /application
- volumes:
- - ./backup:/backup
- ports:
- - 3306:3306
- environment:
- - MYSQL_ROOT_PASSWORD=root
- - MYSQL_DATABASE=ohwolar
- - MYSQL_USER=ohwolar
- - MYSQL_PASSWORD=ohwolar
- mongo:
- image: mongo:3.6
- command: --smallfiles
- container_name: ohwo-mongo
- hostname: mongo
- restart: always
- ports:
- - 27017:27017
- #environment:
- # - MONGO_INITDB_ROOT_USERNAME: root
- # - MONGO_INITDB_ROOT_PASSWORD: example
- node:
- image: node:8
- container_name: ohwo-node
- hostname: ohwo-node
- working_dir: /application
- volumes:
- - .:/application
- networks:
- default:
- driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement