replace the links with depends_on in the docker-compose file

closes #636
This commit is contained in:
Mahmoud Zalt 2017-03-16 15:11:04 -04:00
parent 1c7e2e7d85
commit dcec8a46a8
1 changed files with 14 additions and 14 deletions

View File

@ -68,7 +68,7 @@ services:
- applications - applications
expose: expose:
- "9000" - "9000"
links: depends_on:
- workspace - workspace
extra_hosts: extra_hosts:
# IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts) # IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts)
@ -92,7 +92,7 @@ services:
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
links: depends_on:
- php-fpm - php-fpm
### Apache Server Container ################################# ### Apache Server Container #################################
@ -109,7 +109,7 @@ services:
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
links: depends_on:
- php-fpm - php-fpm
### HHVM Container ########################################## ### HHVM Container ##########################################
@ -120,7 +120,7 @@ services:
- applications - applications
expose: expose:
- "9000" - "9000"
links: depends_on:
- workspace - workspace
### Minio Container ######################################### ### Minio Container #########################################
@ -252,7 +252,7 @@ services:
- memcached:/var/lib/memcached - memcached:/var/lib/memcached
ports: ports:
- "11211:11211" - "11211:11211"
links: depends_on:
- php-fpm - php-fpm
### Beanstalkd Container #################################### ### Beanstalkd Container ####################################
@ -262,7 +262,7 @@ services:
ports: ports:
- "11300:11300" - "11300:11300"
privileged: true privileged: true
links: depends_on:
- php-fpm - php-fpm
### RabbitMQ Container ###################################### ### RabbitMQ Container ######################################
@ -277,7 +277,7 @@ services:
environment: environment:
RABBITMQ_DEFAULT_USER: guest RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest RABBITMQ_DEFAULT_PASS: guest
links: depends_on:
- php-fpm - php-fpm
### Beanstalkd Console Container ############################ ### Beanstalkd Console Container ############################
@ -286,7 +286,7 @@ services:
build: ./beanstalkd-console build: ./beanstalkd-console
ports: ports:
- "2080:2080" - "2080:2080"
links: depends_on:
- beanstalkd - beanstalkd
### Caddy Server Container ################################## ### Caddy Server Container ##################################
@ -303,7 +303,7 @@ services:
- ./caddy/Caddyfile:/etc/Caddyfile - ./caddy/Caddyfile:/etc/Caddyfile
- ./logs/caddy:/var/log/caddy - ./logs/caddy:/var/log/caddy
- caddy:/root/.caddy - caddy:/root/.caddy
links: depends_on:
- php-fpm - php-fpm
### phpMyAdmin Container #################################### ### phpMyAdmin Container ####################################
@ -317,11 +317,11 @@ services:
MYSQL_ROOT_PASSWORD: root MYSQL_ROOT_PASSWORD: root
ports: ports:
- "8080:80" - "8080:80"
links: depends_on:
# for mysql container # for mysql container
- "mysql:db" - "mysql"
# for mariadb container # for mariadb container
# - "mariadb:db" # - "mariadb"
### pgAdmin Container ####################################### ### pgAdmin Container #######################################
@ -329,7 +329,7 @@ services:
build: ./pgadmin build: ./pgadmin
ports: ports:
- "5050:5050" - "5050:5050"
links: depends_on:
- postgres - postgres
### ElasticSearch Container ################################# ### ElasticSearch Container #################################
@ -342,7 +342,7 @@ services:
ports: ports:
- "9200:9200" - "9200:9200"
- "9300:9300" - "9300:9300"
links: depends_on:
- php-fpm - php-fpm
### Certbot Container ################################## ### Certbot Container ##################################