forked from IBM/osslm-ansible-resource-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alm-ansible-rm-docker-compose.yml
executable file
·41 lines (41 loc) · 1.15 KB
/
alm-ansible-rm-docker-compose.yml
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
39
40
41
version: '3'
networks:
default:
ipam:
config:
- subnet: 172.28.0.0/16
services:
alm-ansible-rm-db:
hostname: ansible-rm-db
container_name: ansible-rm-db
image: cassandra:3.10
ports:
- "9042:9042"
- "9160:9160"
volumes:
- "./var_alm_ansible_rm/cassandra:/var/lib/cassandra/data"
environment:
# important: broadcast address must be set to the Docker hostname
- CASSANDRA_BROADCAST_ADDRESS=alm-ansible-rm-db
- CASSANDRA_CLUSTER_NAME=alm-ansible-rm-cluster
- CASSANDRA_SEEDS=alm-ansible-rm-db
- CASSANDRA_REMOTE_CONNECTION=true
- CASSANDRA_START_RPC=true
alm-ansible-rm:
hostname: ansible-rm
container_name: ansible-rm
build:
context: ./ansible-adaptor
dockerfile: Dockerfile
ports:
- "8080:8080"
volumes:
- "./var_alm_ansible_rm/driver:/var/alm_ansible_rm"
environment:
- LOG_LEVEL=DEBUG
- LOG_FOLDER=/var/alm_ansible_rm/logs
- OS_CLIENT_CONFIG_FILE=/var/alm_ansible_rm/clouds/clouds.yaml
extra_hosts:
- "kafka:192.168.63.179"
depends_on:
- alm-ansible-rm-db