diff --git a/docker-compose.yml b/docker-compose.yml index cdda83add..3d8b94532 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,11 @@ version: "3" services: mage-db: - image: mongo:6.0.4 - container_name: mage-db + image: mongo:6.0.27 + # Uncomment the following ports block to allow the mongo client on your + # host machine to connect to MongoDB in the Docker container. + # ports: + # - 27017:27017 ports: - 27017:27017 volumes: @@ -33,6 +36,20 @@ services: CLAM_AV_URL: tcp://host.docker.internal:3310 # Mac host connection for ClamAV restart: unless-stopped + # Uncomment the following block to enable the TLS reverse proxy. You will + # also need to generate the key and certificate as the README describes. + # mage-web-proxy: + # image: nginx + # volumes: + # - ./web/nginx.conf:/etc/nginx/nginx.conf + # - ./web/mage-web.crt:/etc/nginx/ssl/web.crt + # - ./web/mage-web.key:/etc/nginx/ssl/web.key + # ports: + # - 4280:80 + # - 4243:4243 + # networks: + # - mage.net + networks: mage.net: driver: bridge \ No newline at end of file