Skip to content

Instantly share code, notes, and snippets.

@kapb14
Created August 31, 2016 12:32
Show Gist options
  • Select an option

  • Save kapb14/294556e290b8b8836e4e650d62dae18a to your computer and use it in GitHub Desktop.

Select an option

Save kapb14/294556e290b8b8836e4e650d62dae18a to your computer and use it in GitHub Desktop.
docker-compose: cms bitrix shop demo
version: '2'
services:
db:
container_name: shop-db
image: mysql:5.5
restart: always
ports:
- 13306:3306/tcp
environment:
MYSQL_ROOT_PASSWORD: okwjFybroF9FW6pi8nsE
volumes:
- MYLOCALFOLDER/mysql:/var/lib/mysql
php-fpm:
container_name: shop-fpm
image: saantsupov/bitrix-fpm
volumes_from:
- application
expose:
- "9000"
links:
- workspace
- db
nginx:
container_name: shop-nginx
image: kapb14/bitrix-nginx:latest
volumes_from:
- application
ports:
- "88:80"
links:
- php-fpm
application:
container_name: shop-files
image: kapb14/bitrix-business:latest
volumes:
- /www
workspace:
container_name: shop-workspace
image: saantsupov/workspace
volumes_from:
- application
- db
tty: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment