-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
21 lines (21 loc) · 794 Bytes
/
docker-compose.yml
File metadata and controls
21 lines (21 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# To use this docker-compose.yml, run `docker compose up`. If you want to make
# it run in the background, you instead run `docker compose up -d`. If you want
# to run a different example, change the `MODEL_DIR` below to e.g.
# "examples/sugarscape_cg". You can also specify the path to your custom model
# (relative to this Git repository).
# Note: the model directory MUST contain a run.py file.
version: '3'
services:
install:
build: .
image: mesa:dev
volumes:
- .:/opt/mesa
environment:
# You may replace this with any model directory located
# within the current directory.
# E.g. if it is at my-model, then you specify it as
# /opt/mesa/my-model.
MODEL_DIR: /mesa-examples/examples/schelling_experimental
ports:
- 8765:8765