]> git.parisson.com Git - telemeta.git/commitdiff
add phpmyadmin, add mysql conf
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 16 Dec 2015 23:13:56 +0000 (00:13 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 16 Dec 2015 23:13:56 +0000 (00:13 +0100)
docker-compose.yml

index 433e6b6010ea5532973c1840e4eb1d1df749eff1..e011164b62302e60ef284aec6b836020318336fe 100644 (file)
@@ -32,6 +32,8 @@ media:
 
 db:
   image: mysql
+  volumes:
+    - ./app/deploy/my.cnf:/etc/mysql/my.cnf
   volumes_from:
     - media
   environment:
@@ -83,3 +85,12 @@ nginx:
     - media
   links:
     - app
+
+phpmyadmin:
+    image: nazarpc/phpmyadmin
+    ports:
+      - 10000:80
+    links:
+      - db
+    environment:
+      - MYSQL_PORT_3306_TCP_ADDR=db