Skip to content

Commit

Permalink
Support aliyun slb ECS
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyonghkw committed Jun 14, 2017
1 parent 56a7121 commit 2d97491
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 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 @@ -42,9 +39,6 @@ services:
- ./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}"
Expand All @@ -62,26 +56,6 @@ services:
- "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
Expand Down

0 comments on commit 2d97491

Please sign in to comment.