Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Loading