-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 971 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "3"
services:
mage-db:
image: mongo:6.0.4
container_name: mage-db
ports:
- 27017:27017
volumes:
- ./database/data:/data/db
- ./database/log:/data/log
networks:
- mage.net
restart: unless-stopped
mage-server:
depends_on: [ mage-db ]
build:
context: ./
image: mage:local
platform: linux/amd64
volumes:
- ./server/resources:/var/lib/mage
- ./web-app/dist:/home/mage/instance/node_modules/@ngageoint/web-app/dist
ports:
- 4242:4242
networks:
- mage.net
environment:
MAGE_MONGO_URL: MAGE_MONGO_URL=mongodb://127.0.0.1:27017/magedb
# MAGE_MONGO_URL: mongodb://mage-db:27017/magedb
MAGE_TOKEN_EXPIRATION: "28800"
SFTP_PLUGIN_CONFIG_SALT: "A0E6D3B4-25BD-4DD6-BBC9-B367931966AB"
CLAM_AV_URL: tcp://host.docker.internal:3310 # Mac host connection for ClamAV
restart: unless-stopped
networks:
mage.net:
driver: bridge