]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug - Docker development environent and documentation changes.
authordklawren <dklawren@users.noreply.github.com>
Tue, 4 Feb 2020 22:25:41 +0000 (17:25 -0500)
committerGitHub <noreply@github.com>
Tue, 4 Feb 2020 22:25:41 +0000 (17:25 -0500)
README.rst
docker-compose.yml

index ac0219b12fe4bc212ccdc2b5f9126426d5e41edc..c0dfb99e3910c59e423db287c926007f2459f6a1 100644 (file)
@@ -272,7 +272,7 @@ to ensure that you have the correct docker setup.
     docker-compose up --build
 
 
-Then, you must configure your browser to use http://localhost:1091 as an HTTP proxy.
+Then, you must configure your browser to use localhost and port 1080 as an HTTP proxy.
 For setting a proxy in Firefox, see `Firefox Connection Settings`_.
 The procedure should be similar for other browsers.
 
@@ -282,6 +282,17 @@ After that, you should be able to visit http://bmo.test/ from your browser.
 You can login as vagrant@bmo.test with the password "vagrant01!" (without
 quotes).
 
+If you want to update the code running in the web container, you do not need to restart everything.
+You can run the following command:
+
+.. code-block:: bash
+
+    docker-compose exec bmo.test rsync -avz --exclude .git --exclude local /mnt/sync/ /app/
+
+The Mojolicious morbo development server, used by the web container, will notice any code changes and
+restart itself.
+
+
 Ensuring your Docker setup on Ubuntu 16.04
 ==========================================
 
index 0e59b3f3d17aac76d29639d0a7d157065994e0ba..36ab67d02cd83d9a904e69780e36c90d6ad80323 100644 (file)
@@ -35,6 +35,7 @@ services:
     depends_on:
       - bmo.db
       - memcached
+      - tinyproxy
 
   bmo.jobqueue:
     build: *bmo_build
@@ -93,6 +94,8 @@ services:
     volumes:
       - bmo-mysql-db:/var/lib/mysql
       - ./docker/mysql:/etc/mysql/conf.d
+    tmpfs:
+      - /tmp
     logging:
       driver: "none"
     environment: