2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-27 07:31:40 +01:00

add ambari

This commit is contained in:
kev
2019-09-29 08:59:17 +08:00
parent c2da934d2b
commit d15c9a23a6
10 changed files with 377 additions and 0 deletions

25
ambari/docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
ambari:
image: vimagick/ambari
hostname: ambari-server
ports:
- "8080:8080"
volumes:
- ./data/ssh:/root/.ssh
- ./data/ambari:/etc/ambari-server/conf
extra_hosts:
- ambari-agent1:172.16.1.101
- ambari-agent2:172.16.1.102
- ambari-agent3:172.16.1.103
restart: unless-stopped
postgres:
image: postgres:alpine
ports:
- "5432:5432"
volumes:
- /data/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=ambari
- POSTGRES_PASSWORD=ambari
- POSTGRES_DB=ambari
restart: unless-stopped