Skip to content

Commit

Permalink
Support docker compose for Aliyun SLB backend server
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyonghkw committed Jun 14, 2017
1 parent c0888ec commit 31f062e
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ services:
#source code container
volumes_from:
- www
links:
- mariadb
- redis
#https://github.com/laradock/laradock/issues/435
extra_hosts:
- "${PHP_FPM_DOMAIN}:${DOCKER_HOST_IP}"
Expand All @@ -35,54 +32,6 @@ services:
- "${PHP_FPM_DOMAIN5}:${DOCKER_HOST_IP}"
env_file:
- .env
php-supervisor:
build: ./php-supervisor
container_name: lnmp-php-supervisor
volumes:
- ./php-supervisor/supervisor/log:/var/log/supervisor
volumes_from:
- www
links:
- mariadb
- redis
extra_hosts:
- "${SUPERVISOR_DOMAIN}:${DOCKER_HOST_IP}"
- "${SUPERVISOR_DOMAIN2}:${DOCKER_HOST_IP}"
- "${SUPERVISOR_DOMAIN3}:${DOCKER_HOST_IP}"
- "${SUPERVISOR_DOMAIN4}:${DOCKER_HOST_IP}"
- "${SUPERVISOR_DOMAIN5}:${DOCKER_HOST_IP}"
env_file:
- .env
call-websocket:
build: ./call-websocket
container_name: lnmp-call-websocket
volumes_from:
- www
ports:
- "8190:8190"
- "8191:8191"
# restart: always
# MariaDB - One of the most popular database servers. Made by the original developers of MySQL. Guaranteed to stay open source.
mariadb:
image: mariadb
container_name: lnmp-mariadb
ports:
- "3306:3306"
volumes:
# NOTE: your data will be stored in ./mysql
- ./mariadb/data/mysql:/var/lib/mysql
environment:
- MYSQL_DATABASE=mysql
- MYSQL_USER=developer
- MYSQL_PASSWORD=developer
- MYSQL_ROOT_PASSWORD=developer
# Redis
redis:
build: ./redis
container_name: lnmp-redis
ports:
- "6379:6379"
# Web application code container
www:
image: tianon/true
container_name: lnmp-www
Expand Down

0 comments on commit 31f062e

Please sign in to comment.