forked from ralgozino/vmtory
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 756 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (32 loc) · 756 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
version: "3"
# volumes:
# pgdata:
services:
# db:
# image: postgres
# # If you want to have peristant data, cerate a docker volume "pgdata" and uncomment following lines:
# # volumes:
# # - pgdata
# ports:
# - "5432:5432"
# environment:
# POSTGRES_USER: "django"
# POSTGRES_PASSWORD: "django"
# POSTGRES_DB: "vmtory"
vcsim:
image: ralgozino/vcsim:20190921
build: vcsim
ports:
- "8989:8989"
entrypoint: ["/go/bin/vcsim", "-esx", "-ds=2", "-l=0.0.0.0:8989", "-vm=50"]
vmtory:
image: python:3.7
command: bash /deploy/run.sh
volumes:
- ./vminventory:/vminventory
- ./deploy:/deploy
ports:
- "8080:8080"
depends_on:
# - db
- vcsim