Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3.7"
- services:
- db:
- image: mysql
- command: --default-authentication-plugin=mysql_native_password
- container_name: mysql-container2
- environment:
- MYSQL_ROOT_PASSWORD: programadorabordo
- volumes:
- - ./api/db/data:/var/lib/mysql
- restart: always
- api:
- build: "./api"
- container_name: node-container2
- restart: always
- volumes:
- - ./api:/home/node/app
- ports:
- - "9003:9003"
- depends_on:
- - db
- web:
- image: "php:7.2-apache"
- container_name: php-container2
- restart: always
- volumes:
- - ./website:/var/www/html
- ports:
- - "8890:80"
- depends_on:
- - db
- - api
- web1:
- image: "php:7.2-apache"
- container_name: php-container2a
- restart: always
- volumes:
- - ./website1:/var/www/html
- ports:
- - "8894:80"
- depends_on:
- - db
- - api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement