summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-02-10 15:13:07 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-02-10 15:13:07 +0530
commit403b09e35496b3fc7cc27d9a692baed5549924b8 (patch)
treecabbc564349b4a24d20b47b1f1d14d3e8ddfd9c9 /docker-compose.yml
parent93e44e57fbbb86df7a03c6d9ecfa751fb22342a1 (diff)
downloadvaindock-403b09e35496b3fc7cc27d9a692baed5549924b8.tar.gz
vaindock-403b09e35496b3fc7cc27d9a692baed5549924b8.zip
pulled the python container from the apigrabber and put into vaindock folder as it's being done for all others.
(THIS IS NOT YET TESTED). installation of gcc is taking obnoxiously long
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml63
1 files changed, 37 insertions, 26 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 7b43f6e..57511ec 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,6 +10,8 @@ services:
# as long as all the Vainglory repo are checked out on the same level this will work just fine
# volume to map Vainsocial.com code. used by Workspace repo.
- ../vainsocial.com/:/var/www/vainsocial
+ - ../apigrabber:/apps/api
+ - ../analyzer:/apps/cli
### Workspace Utilities Container ###########################
@@ -76,7 +78,6 @@ services:
- PHP_IDE_CONFIG=serverName=laravel
### Nginx Server Container ##################################
-
### The webroot is mapped to vainsocial.dev (entry in hosts file)
nginx:
@@ -96,22 +97,23 @@ services:
links:
- php-fpm
-### Apache Server Container #################################
+### Python Container
+ apigrabber:
+ container_name: vaindock_apigrabber
+ build: ../apigrabber
+ volumes_from:
+ - applications
+ ports:
+ - "8080:8080"
+ links:
+ - vaindock_postgres_raw
+ environment:
+ - POSTGRESQL_HOST=vaindock_postgres_raw
+ - POSTGRESQL_PORT=5432
+ - POSTGRESQL_DB=vainsocial-raw
+ - POSTGRESQL_USER=vainraw
+ - POSTGRESQL_PASSWORD=vainraw
- # apache2:
- # build:
- # context: ./apache2
- # args:
- # - PHP_SOCKET=php-fpm:9000
- # volumes_from:
- # - applications
- # volumes:
- # - ./logs/apache2:/var/log/apache2
- # ports:
- # - "80:80"
- # - "443:443"
- # links:
- # - php-fpm
### PostgreSQL Container - Web ####################################
@@ -142,16 +144,6 @@ services:
POSTGRES_USER: vainraw
POSTGRES_PASSWORD: vainraw
-
-### Redis Container #########################################
-
-# redis:
-# build: ./redis
-# volumes:
-# - redis:/data
-# ports:
-# - "6379:6379"
-
### pgAdmin Container #######################################
pgadmin:
@@ -173,3 +165,22 @@ volumes:
driver: "local"
sessions: ## nothing is connected to this (- ./data/sessions:/sessions)
driver: "local"
+
+
+
+### Apache Server Container #################################
+
+ # apache2:
+ # build:
+ # context: ./apache2
+ # args:
+ # - PHP_SOCKET=php-fpm:9000
+ # volumes_from:
+ # - applications
+ # volumes:
+ # - ./logs/apache2:/var/log/apache2
+ # ports:
+ # - "80:80"
+ # - "443:443"
+ # links:
+ # - php-fpm