Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.6"
- services:
- smartline-mysql:
- restart: always
- container_name: smartline-mysql
- image: mysql:5.7.22
- networks:
- - smartline
- volumes:
- - type: volume
- source: mysql
- target: /var/lib/mysql
- environment:
- - MYSQL_ROOT_PASSWORD=root
- - MYSQL_DATABASE=smartline
- - MYSQL_USER=smartline
- - MYSQL_PASSWORD=
- # Nginx + fpm containers
- smartline-php:
- restart: always
- container_name: smartline-php
- #image: parlevel/smartline-php
- image: gcr.io//smartline-php:1.0
- networks:
- - smartline
- smartline-nginx:
- restart: always
- container_name: smartline-nginx
- #image: parlevel/smartline-nginx
- image: gcr.io//smartline-nginx:1.0
- depends_on:
- - smartline-php
- networks:
- - smartline
- ports:
- - 80:80
- smartline-websocket:
- restart: always
- container_name: smartline-websocket
- #image: parlevel/smartline-websocket
- image: gcr.io//smartline-websocket:1.0
- ports:
- - 6001:6001
- networks:
- - smartline
- networks:
- ? smartline
- volumes:
- ? mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement