Fixing environment in docker-compose file
This commit is contained in:
parent
84b742315a
commit
73f7c88122
@ -7,8 +7,8 @@ services:
|
|||||||
applications:
|
applications:
|
||||||
image: tianon/true
|
image: tianon/true
|
||||||
volumes:
|
volumes:
|
||||||
- ../:/var/www
|
- ../:/var/www
|
||||||
# - ../sample/:/var/www/sample
|
# - ../sample/:/var/www/sample
|
||||||
|
|
||||||
### Workspace Utilities Container ###########################
|
### Workspace Utilities Container ###########################
|
||||||
|
|
||||||
@ -16,31 +16,31 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./workspace
|
context: ./workspace
|
||||||
args:
|
args:
|
||||||
- INSTALL_XDEBUG=false
|
- INSTALL_XDEBUG=false
|
||||||
- INSTALL_SOAP=false
|
- INSTALL_SOAP=false
|
||||||
- INSTALL_MONGO=false
|
- INSTALL_MONGO=false
|
||||||
- INSTALL_NODE=false
|
- INSTALL_NODE=false
|
||||||
- INSTALL_YARN=false
|
- INSTALL_YARN=false
|
||||||
- INSTALL_DRUSH=false
|
- INSTALL_DRUSH=false
|
||||||
- INSTALL_AEROSPIKE_EXTENSION=false
|
- INSTALL_AEROSPIKE_EXTENSION=false
|
||||||
- INSTALL_V8JS_EXTENSION=false
|
- INSTALL_V8JS_EXTENSION=false
|
||||||
- COMPOSER_GLOBAL_INSTALL=false
|
- COMPOSER_GLOBAL_INSTALL=false
|
||||||
- INSTALL_WORKSPACE_SSH=false
|
- INSTALL_WORKSPACE_SSH=false
|
||||||
- INSTALL_LARAVEL_ENVOY=false
|
- INSTALL_LARAVEL_ENVOY=false
|
||||||
- INSTALL_DEPLOYER=false
|
- INSTALL_DEPLOYER=false
|
||||||
- INSTALL_LINUXBREW=false
|
- INSTALL_LINUXBREW=false
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- NODE_VERSION=stable
|
- NODE_VERSION=stable
|
||||||
- YARN_VERSION=latest
|
- YARN_VERSION=latest
|
||||||
- TZ=UTC
|
- TZ=UTC
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
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)
|
||||||
- "dockerhost:10.0.75.1"
|
- "dockerhost:10.0.75.1"
|
||||||
ports:
|
ports:
|
||||||
- "2222:22"
|
- "2222:22"
|
||||||
tty: true
|
tty: true
|
||||||
|
|
||||||
### PHP-FPM Container #######################################
|
### PHP-FPM Container #######################################
|
||||||
@ -49,30 +49,30 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./php-fpm
|
context: ./php-fpm
|
||||||
args:
|
args:
|
||||||
- INSTALL_XDEBUG=false
|
- INSTALL_XDEBUG=false
|
||||||
- INSTALL_SOAP=false
|
- INSTALL_SOAP=false
|
||||||
- INSTALL_MONGO=false
|
- INSTALL_MONGO=false
|
||||||
- INSTALL_ZIP_ARCHIVE=false
|
- INSTALL_ZIP_ARCHIVE=false
|
||||||
- INSTALL_BCMATH=false
|
- INSTALL_BCMATH=false
|
||||||
- INSTALL_PHPREDIS=false
|
- INSTALL_PHPREDIS=false
|
||||||
- INSTALL_MEMCACHED=false
|
- INSTALL_MEMCACHED=false
|
||||||
- INSTALL_OPCACHE=false
|
- INSTALL_OPCACHE=false
|
||||||
- INSTALL_EXIF=false
|
- INSTALL_EXIF=false
|
||||||
- INSTALL_AEROSPIKE_EXTENSION=false
|
- INSTALL_AEROSPIKE_EXTENSION=false
|
||||||
- CODEIGNITER=false
|
- CODEIGNITER=false
|
||||||
dockerfile: Dockerfile-70
|
dockerfile: Dockerfile-70
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
expose:
|
expose:
|
||||||
- "9000"
|
- "9000"
|
||||||
links:
|
links:
|
||||||
- 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)
|
||||||
- "dockerhost:10.0.75.1"
|
- "dockerhost:10.0.75.1"
|
||||||
environment:
|
environment:
|
||||||
# IMPORTANT: Set the Remote Interpreter entry matching name to `laravel`
|
# IMPORTANT: Set the Remote Interpreter entry matching name to `laravel`
|
||||||
- PHP_IDE_CONFIG=serverName=laravel
|
- PHP_IDE_CONFIG=serverName=laravel
|
||||||
|
|
||||||
### Nginx Server Container ##################################
|
### Nginx Server Container ##################################
|
||||||
|
|
||||||
@ -80,17 +80,17 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./nginx
|
context: ./nginx
|
||||||
args:
|
args:
|
||||||
- PHP_UPSTREAM=php-fpm
|
- PHP_UPSTREAM=php-fpm
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs/nginx/:/var/log/nginx
|
- ./logs/nginx/:/var/log/nginx
|
||||||
- ./nginx/sites/:/etc/nginx/sites-available
|
- ./nginx/sites/:/etc/nginx/sites-available
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### Apache Server Container #################################
|
### Apache Server Container #################################
|
||||||
|
|
||||||
@ -98,27 +98,27 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./apache2
|
context: ./apache2
|
||||||
args:
|
args:
|
||||||
- PHP_SOCKET=php-fpm:9000
|
- PHP_SOCKET=php-fpm:9000
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
volumes:
|
volumes:
|
||||||
- ./logs/apache2:/var/log/apache2
|
- ./logs/apache2:/var/log/apache2
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### HHVM Container ##########################################
|
### HHVM Container ##########################################
|
||||||
|
|
||||||
hhvm:
|
hhvm:
|
||||||
build: ./hhvm
|
build: ./hhvm
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
expose:
|
expose:
|
||||||
- "9000"
|
- "9000"
|
||||||
links:
|
links:
|
||||||
- workspace
|
- workspace
|
||||||
|
|
||||||
### MySQL Container #########################################
|
### MySQL Container #########################################
|
||||||
|
|
||||||
@ -126,107 +126,107 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./mysql
|
context: ./mysql
|
||||||
args:
|
args:
|
||||||
- MYSQL_DATABASE=homestead
|
- MYSQL_DATABASE=homestead
|
||||||
- MYSQL_USER=homestead
|
- MYSQL_USER=homestead
|
||||||
- MYSQL_PASSWORD=secret
|
- MYSQL_PASSWORD=secret
|
||||||
- MYSQL_ROOT_PASSWORD=root
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
volumes:
|
volumes:
|
||||||
- mysql:/var/lib/mysql
|
- mysql:/var/lib/mysql
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
|
|
||||||
### MariaDB Container #######################################
|
### MariaDB Container #######################################
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
build: ./mariadb
|
build: ./mariadb
|
||||||
volumes:
|
volumes:
|
||||||
- mariadb:/var/lib/mysql
|
- mariadb:/var/lib/mysql
|
||||||
ports:
|
ports:
|
||||||
- "3306:3306"
|
- "3306:3306"
|
||||||
environment:
|
environment:
|
||||||
MYSQL_DATABASE: homestead
|
- MYSQL_DATABASE=homestead
|
||||||
MYSQL_USER: homestead
|
- MYSQL_USER=homestead
|
||||||
MYSQL_PASSWORD: secret
|
- MYSQL_PASSWORD=secret
|
||||||
MYSQL_ROOT_PASSWORD: root
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
|
|
||||||
### PostgreSQL Container ####################################
|
### PostgreSQL Container ####################################
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
build: ./postgres
|
build: ./postgres
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: homestead
|
- POSTGRES_DB=homestead
|
||||||
POSTGRES_USER: homestead
|
- POSTGRES_USER=homestead
|
||||||
POSTGRES_PASSWORD: secret
|
- POSTGRES_PASSWORD=secret
|
||||||
|
|
||||||
### PostgreSQL PostGis Container ############################
|
### PostgreSQL PostGis Container ############################
|
||||||
|
|
||||||
postgres-postgis:
|
postgres-postgis:
|
||||||
build: ./postgres-postgis
|
build: ./postgres-postgis
|
||||||
volumes:
|
volumes:
|
||||||
- postgres:/var/lib/postgresql/data
|
- postgres:/var/lib/postgresql/data
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_DB: homestead
|
- POSTGRES_DB=homestead
|
||||||
POSTGRES_USER: homestead
|
- POSTGRES_USER=homestead
|
||||||
POSTGRES_PASSWORD: secret
|
- POSTGRES_PASSWORD=secret
|
||||||
|
|
||||||
### Neo4j Container #########################################
|
### Neo4j Container #########################################
|
||||||
|
|
||||||
neo4j:
|
neo4j:
|
||||||
build: ./neo4j
|
build: ./neo4j
|
||||||
ports:
|
ports:
|
||||||
- "7474:7474"
|
- "7474:7474"
|
||||||
- "1337:1337"
|
- "1337:1337"
|
||||||
environment:
|
environment:
|
||||||
- NEO4J_AUTH=homestead:secret
|
- NEO4J_AUTH=homestead:secret
|
||||||
volumes:
|
volumes:
|
||||||
- neo4j:/var/lib/neo4j/data
|
- neo4j:/var/lib/neo4j/data
|
||||||
|
|
||||||
### MongoDB Container #######################################
|
### MongoDB Container #######################################
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
build: ./mongo
|
build: ./mongo
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
volumes:
|
volumes:
|
||||||
- mongo:/data/db
|
- mongo:/data/db
|
||||||
|
|
||||||
### RethinkDB Container #######################################
|
### RethinkDB Container #######################################
|
||||||
|
|
||||||
rethinkdb:
|
rethinkdb:
|
||||||
build: ./rethinkdb
|
build: ./rethinkdb
|
||||||
ports:
|
ports:
|
||||||
- "8090:8080"
|
- "8090:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- rethinkdb:/data/rethinkdb_data
|
- rethinkdb:/data/rethinkdb_data
|
||||||
|
|
||||||
### Redis Container #########################################
|
### Redis Container #########################################
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
build: ./redis
|
build: ./redis
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- redis:/data
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "6379:6379"
|
||||||
|
|
||||||
### Aerospike c Container ###################################
|
### Aerospike c Container ###################################
|
||||||
|
|
||||||
aerospike:
|
aerospike:
|
||||||
build: ./aerospike
|
build: ./aerospike
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- workspace
|
- workspace
|
||||||
volumes:
|
volumes:
|
||||||
- aerospike:/opt/aerospike/data
|
- aerospike:/opt/aerospike/data
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
- "3002:3002"
|
- "3002:3002"
|
||||||
- "3003:3003"
|
- "3003:3003"
|
||||||
|
|
||||||
|
|
||||||
### Memcached Container #####################################
|
### Memcached Container #####################################
|
||||||
@ -234,108 +234,108 @@ services:
|
|||||||
memcached:
|
memcached:
|
||||||
build: ./memcached
|
build: ./memcached
|
||||||
volumes:
|
volumes:
|
||||||
- memcached:/var/lib/memcached
|
- memcached:/var/lib/memcached
|
||||||
ports:
|
ports:
|
||||||
- "11211:11211"
|
- "11211:11211"
|
||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### Beanstalkd Container ####################################
|
### Beanstalkd Container ####################################
|
||||||
|
|
||||||
beanstalkd:
|
beanstalkd:
|
||||||
build: ./beanstalkd
|
build: ./beanstalkd
|
||||||
ports:
|
ports:
|
||||||
- "11300:11300"
|
- "11300:11300"
|
||||||
privileged: true
|
privileged: true
|
||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### RabbitMQ Container ######################################
|
### RabbitMQ Container ######################################
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
build: ./rabbitmq
|
build: ./rabbitmq
|
||||||
ports:
|
ports:
|
||||||
- "5672:5672"
|
- "5672:5672"
|
||||||
- "15671:15671"
|
- "15671:15671"
|
||||||
- "8080:15672"
|
- "8080:15672"
|
||||||
privileged: true
|
privileged: true
|
||||||
environment:
|
environment:
|
||||||
RABBITMQ_DEFAULT_USER: guest
|
- RABBITMQ_DEFAULT_USER=guest
|
||||||
RABBITMQ_DEFAULT_PASS: guest
|
- RABBITMQ_DEFAULT_PASS=guest
|
||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### Beanstalkd Console Container ############################
|
### Beanstalkd Console Container ############################
|
||||||
|
|
||||||
beanstalkd-console:
|
beanstalkd-console:
|
||||||
build: ./beanstalkd-console
|
build: ./beanstalkd-console
|
||||||
ports:
|
ports:
|
||||||
- "2080:2080"
|
- "2080:2080"
|
||||||
links:
|
links:
|
||||||
- beanstalkd
|
- beanstalkd
|
||||||
|
|
||||||
### Caddy Server Container ##################################
|
### Caddy Server Container ##################################
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
build: ./caddy
|
build: ./caddy
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "2015:2015"
|
- "2015:2015"
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
volumes:
|
volumes:
|
||||||
- ./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:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### phpMyAdmin Container ####################################
|
### phpMyAdmin Container ####################################
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
build: ./phpmyadmin
|
build: ./phpmyadmin
|
||||||
environment:
|
environment:
|
||||||
PMA_ARBITRARY: 1
|
- PMA_ARBITRARY=1
|
||||||
MYSQL_USER: homestead
|
- MYSQL_USER=homestead
|
||||||
MYSQL_PASSWORD: secret
|
- MYSQL_PASSWORD=secret
|
||||||
MYSQL_ROOT_PASSWORD: root
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
links:
|
links:
|
||||||
# for mysql container
|
# for mysql container
|
||||||
- "mysql:db"
|
# - "mysql:db"
|
||||||
# for mariadb container
|
# for mariadb container
|
||||||
# - "mariadb:db"
|
- "mariadb:db"
|
||||||
|
|
||||||
### pgAdmin Container #######################################
|
### pgAdmin Container #######################################
|
||||||
|
|
||||||
pgadmin:
|
pgadmin:
|
||||||
build: ./pgadmin
|
build: ./pgadmin
|
||||||
ports:
|
ports:
|
||||||
- "5050:5050"
|
- "5050:5050"
|
||||||
links:
|
links:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
||||||
### ElasticSearch Container #################################
|
### ElasticSearch Container #################################
|
||||||
|
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
build: ./elasticsearch
|
build: ./elasticsearch
|
||||||
volumes:
|
volumes:
|
||||||
- elasticsearch-data:/usr/share/elasticsearch/data
|
- elasticsearch-data:/usr/share/elasticsearch/data
|
||||||
- elasticsearch-plugins:/usr/share/elasticsearch/data
|
- elasticsearch-plugins:/usr/share/elasticsearch/data
|
||||||
ports:
|
ports:
|
||||||
- "9200:9200"
|
- "9200:9200"
|
||||||
- "9300:9300"
|
- "9300:9300"
|
||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
### Selenium Container #########################################
|
### Selenium Container #########################################
|
||||||
|
|
||||||
selenium:
|
selenium:
|
||||||
build: ./selenium
|
build: ./selenium
|
||||||
ports:
|
ports:
|
||||||
- "4444:4444"
|
- "4444:4444"
|
||||||
|
|
||||||
### Volumes Setup ###########################################
|
### Volumes Setup ###########################################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user