You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docker directory includes documentation and dockerfiles for building using the release npm packages. The root Dockerfile and docker-compose.yml are used for building and running a dockerfile from the source/local code. Simply run `docker compose up` to spin up a local mongo db database along with the web server. After it starts up, navitage to localhost:4242 to view the web server.
368
+
369
+
By default, the Dockerfile includes additional plugins. Should you want to add/remove any plugins, you will need to modify the Entrypoint command. Simply uncomment the `entrypoint` section of the docker compose to specify what plugins you would like to include, or exlude
370
+
371
+
### HTTPS/TLS reverse proxy
372
+
373
+
Then `mage-web-proxy` service is optional when developing and running on
374
+
localhost, but highly recommended when running MAGE Server on publicly
375
+
accessible servers. The service in `docker-compose.yml` uses the official
376
+
nginx docker image with an appropriate [configuration](web/nginx.conf). This
377
+
is an example of setting up a reverse proxy in front of the Node server to
378
+
enforce HTTPS/TLS connections to the server. Of course, you could use any
379
+
reverse proxy you see fit, such as [Apache HTTP Server](https://httpd.apache.org/)
380
+
or an AWS [Application Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html). To run your MAGE server behind the TLS
381
+
reverse proxy, peform the following modifications to `docker-compose.yml`.
382
+
1. Comment the `ports` block for the `mage-server` service to disallow
383
+
connections directly to the Node.js server.
384
+
1. Uncomment the block with the `mage-web-proxy` service key.
385
+
386
+
For testing in a development environment, you can create a self-signed server
387
+
certificate for nginx to use. The following OpenSSL command, run from the
388
+
directory of this README, will create a self-signed server certificate and
389
+
private key in the `web` directory that should allow the MAGE mobile app to
390
+
connect to nginx. Replace the values of the `SUBJ_*` variables at the
Note the same values in the `IMAGE ID` column in the example output, along with
159
159
different `TAG` values.
160
160
161
-
### HTTPS/TLS reverse proxy
162
161
163
-
Then `mage-web-proxy` service is optional when developing and running on
164
-
localhost, but highly recommended when running MAGE Server on publicly
165
-
accessible servers. The service in `docker-compose.yml` uses the official
166
-
nginx docker image with an appropriate [configuration](web/nginx.conf). This
167
-
is an example of setting up a reverse proxy in front of the Node server to
168
-
enforce HTTPS/TLS connections to the server. Of course, you could use any
169
-
reverse proxy you see fit, such as [Apache HTTP Server](https://httpd.apache.org/)
170
-
or an AWS [Application Load Balancer](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html). To run your MAGE server behind the TLS
171
-
reverse proxy, peform the following modifications to `docker-compose.yml`.
172
-
1. Comment the `ports` block for the `mage-server` service to disallow
173
-
connections directly to the Node.js server.
174
-
1. Uncomment the block with the `mage-web-proxy` service key.
175
-
176
-
For testing in a development environment, you can create a self-signed server
177
-
certificate for nginx to use. The following OpenSSL command, run from the
178
-
directory of this README, will create a self-signed server certificate and
179
-
private key in the `web` directory that should allow the MAGE mobile app to
180
-
connect to nginx. Replace the values of the `SUBJ_*` variables at the
0 commit comments