summaryrefslogtreecommitdiffstats
path: root/docker-compose-images.yml
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-12-07 10:30:43 +0100
committerstartxfr <clarue@startx.fr>2015-12-07 10:30:43 +0100
commite34ed3a382f238cf55afec6e377b7be9b21f237d (patch)
tree98dc36edbb7738206b23dffb53136f9b3c37610b /docker-compose-images.yml
parent306b73c26b19bb3e032a763a9007f5d444bddadf (diff)
downloadphpmyadmin-e34ed3a382f238cf55afec6e377b7be9b21f237d.tar.gz
phpmyadmin-e34ed3a382f238cf55afec6e377b7be9b21f237d.tar.bz2
phpmyadmin-e34ed3a382f238cf55afec6e377b7be9b21f237d.tar.xz
phpmyadmin-e34ed3a382f238cf55afec6e377b7be9b21f237d.zip
finishing application phpmyadmin and adding docker-compose-images demo file with all services used together
Diffstat (limited to 'docker-compose-images.yml')
-rw-r--r--docker-compose-images.yml140
1 files changed, 140 insertions, 0 deletions
diff --git a/docker-compose-images.yml b/docker-compose-images.yml
new file mode 100644
index 0000000..c057ef6
--- /dev/null
+++ b/docker-compose-images.yml
@@ -0,0 +1,140 @@
+fedora_data:
+ image: startx/fedora
+ container_name: "fedora_data"
+ environment:
+ CONTAINER_TYPE: "os"
+ CONTAINER_SERVICE: "fedora"
+ CONTAINER_INSTANCE: "fedora_data"
+
+fedora_sv_apache:
+ image: startx/sv-apache
+ container_name: "fedora_sv_apache"
+ ports:
+ - "81:80"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "apache"
+ CONTAINER_INSTANCE: "fedora_sv_apache"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_php:
+ image: startx/sv-php
+ container_name: "fedora_sv_php"
+ ports:
+ - "82:80"
+ links:
+ - fedora_sv_mariadb:mariadb
+ - fedora_sv_postgres:postgres
+ - fedora_sv_mongo:mongo
+ - fedora_sv_memcache:memcache
+ - fedora_sv_ooconv:ooconv
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "php"
+ CONTAINER_INSTANCE: "fedora_sv_php"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_nodejs:
+ image: startx/sv-nodejs
+ container_name: "fedora_sv_nodejs"
+ ports:
+ - "83:8000"
+ links:
+ - fedora_sv_mariadb:mariadb
+ - fedora_sv_postgres:postgres
+ - fedora_sv_mongo:mongo
+ - fedora_sv_memcache:memcache
+ - fedora_sv_ooconv:ooconv
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "nodejs"
+ CONTAINER_INSTANCE: "fedora_sv_nodejs"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_mariadb:
+ image: startx/sv-mariadb
+ container_name: "fedora_sv_mariadb"
+ expose:
+ - "3306"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "mariadb"
+ CONTAINER_INSTANCE: "fedora_sv_mariadb"
+ MYSQL_USER: "user-test"
+ MYSQL_PASSWORD: "pwd-test"
+ MYSQL_DATABASE: "db_test"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_postgres:
+ image: startx/sv-postgres:latest
+ container_name: "fedora_sv_postgres"
+ expose:
+ - "5432"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "postgres"
+ CONTAINER_INSTANCE: "fedora_sv_postgres"
+ POSTGRESQL_USER: "user-test"
+ POSTGRESQL_PASSWORD: "pwd-test"
+ POSTGRESQL_DATABASE: "db_test"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_mongo:
+ image: startx/sv-mongo
+ container_name: "fedora_sv_mongo"
+ expose:
+ - "27017"
+ - "28017"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "mongo"
+ CONTAINER_INSTANCE: "fedora_sv_mongo"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_ooconv:
+ image: startx/sv-ooconv
+ container_name: "fedora_sv_ooconv"
+ expose:
+ - "2002"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "ooconv"
+ CONTAINER_INSTANCE: "fedora_sv_ooconv"
+ volumes_from:
+ - fedora_data
+
+fedora_sv_memcache:
+ image: startx/sv-memcache
+ container_name: "fedora_sv_memcache"
+ expose:
+ - "11211"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "memcache"
+ CONTAINER_INSTANCE: "fedora_sv_memcache"
+ volumes_from:
+ - fedora_data
+
+#fedora_app_pma:
+# image: startx/sv-phpmyadmin
+# container_name: "application-phpmyadmin"
+# ports:
+# - "84:80"
+# links:
+# - fedora_sv_mariadb:mariadb
+# environment:
+# CONTAINER_TYPE: "application"
+# CONTAINER_SERVICE: "phpmyadmin"
+# CONTAINER_INSTANCE: "application-phpmyadmin"
+# volumes_from:
+# - fedora_data
+
+#fedora_app_rockmongo:
+# build: Applications/rockmongo/
+# container_name: "application-rockmongo" \ No newline at end of file