Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- frontend:
- image: nginx:latest
- ports:
- - "8081:80"
- volumes:
- - ./frontend/public:/var/www/html
- api:
- image: richarvey/nginx-php-fpm:latest
- ports:
- - "8080:80"
- restart: always
- volumes:
- - ./api:/var/www/html
- environment:
- APPLICATION_ENV: development
- ERRORS: 1
- REMOVE_FILES: 0
- links:
- - db
- - mq
- db:
- image: mariadb
- restart: always
- volumes:
- - ./data:/var/lib/mysql
- environment:
- MYSQL_ROOT_PASSWORD: dEvE10pMeNtMoDeBr0
- mq:
- image: rabbitmq:latest
- restart: always
- environment:
- RABBITMQ_DEFAULT_USER: developer
- RABBITMQ_DEFAULT_PASS: dEvE10pMeNtMoDeBr0
Add Comment
Please, Sign In to add comment