Skip to content

Commit

Permalink
Dockerfiles directory isolated
Browse files Browse the repository at this point in the history
  • Loading branch information
frsauvage committed Oct 5, 2019
1 parent c7f3faf commit acaceab
Show file tree
Hide file tree
Showing 35 changed files with 52 additions and 302 deletions.
12 changes: 0 additions & 12 deletions Dockerfile-zabbix-postgres

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
14 changes: 7 additions & 7 deletions docker-compose-awx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:

awx_web:
build:
context: .
context: Dockerfiles
dockerfile: Dockerfile-awx_web
args:
mism_version: ${MISM_BULLSEQUANA_EDGE_VERSION}
Expand Down Expand Up @@ -31,11 +31,11 @@ services:
- ./ansible/awx-ssl:/var/lib/awx-ssl:rw
- /:/host:ro
env_file:
- ansible.env
- Dockerfiles/ansible.env

awx_task:
build:
context: .
context: Dockerfiles
dockerfile: Dockerfile-awx_task
args:
mism_version: ${MISM_BULLSEQUANA_EDGE_VERSION}
Expand All @@ -62,7 +62,7 @@ services:
- ./ansible/awx-ssl:/var/lib/awx-ssl:rw
- /:/host:ro
env_file:
- ansible.env
- Dockerfiles/ansible.env

rabbitmq:
image: rabbitmq:3-management
Expand All @@ -76,7 +76,7 @@ services:
- 15672:15672
- 5672:5672
env_file:
- ansible.env
- Dockerfiles/ansible.env

memcached:
image: memcached:alpine
Expand All @@ -95,7 +95,7 @@ services:
volumes:
- ./ansible/pgdata:/var/lib/postgresql/data/pgdata:Z
env_file:
- ansible.env
- Dockerfiles/ansible.env
environment:
PGDATA: /var/lib/postgresql/data/pgdata

Expand All @@ -111,5 +111,5 @@ services:
volumes:
- ./pgadmin:/var/lib/pgadmin/storage:Z
env_file:
- ansible.env
- Dockerfiles/ansible.env

10 changes: 4 additions & 6 deletions docker-compose-zabbix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.6'
services:
zabbix-server:
build:
context: .
context: Dockerfiles
dockerfile: Dockerfile-zabbix
args:
mism_version: ${MISM_BULLSEQUANA_EDGE_VERSION}
Expand Down Expand Up @@ -35,7 +35,7 @@ services:

zabbix-web:
build:
context: .
context: Dockerfiles
dockerfile: Dockerfile-zabbix-web
args:
mism_version: ${MISM_BULLSEQUANA_EDGE_VERSION}
Expand All @@ -55,7 +55,7 @@ services:

zabbix-agent:
build:
context: .
context: Dockerfiles
dockerfile: Dockerfile-zabbix-agent
args:
mism_version: ${MISM_BULLSEQUANA_EDGE_VERSION}
Expand Down Expand Up @@ -85,9 +85,7 @@ services:
- zabbix-server:zabbix-server

zabbix-postgres:
build:
context: .
dockerfile: Dockerfile-zabbix-postgres
image: postgres:latest
container_name: zabbix-postgres
hostname: zabbix-postgres
restart: unless-stopped
Expand Down
47 changes: 0 additions & 47 deletions git_readme.md

This file was deleted.

168 changes: 0 additions & 168 deletions index.html

This file was deleted.

27 changes: 15 additions & 12 deletions install_awx.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
#!/bin/sh

# restore images ...
echo "load mism_rabbitmq ..."
docker load -i mism_rabbitmq.tar
echo "load mism_awx_postgres ..."
docker load -i mism_awx_postgres.tar
echo "load mism_memcached ..."
docker load -i mism_memcached.tar
echo "load mism_awx_web ..."
docker load -i mism_awx_web.tar
echo "load mism_awx_task ..."
docker load -i mism_awx_task.tar
#echo "load mism_rabbitmq ..."
#docker load -i mism_rabbitmq.tar
#echo "load mism_awx_postgres ..."
#docker load -i mism_awx_postgres.tar
#echo "load mism_memcached ..."
#docker load -i mism_memcached.tar
#echo "load mism_awx_web ..."
#docker load -i mism_awx_web.tar
#echo "load mism_awx_task ..."
#docker load -i mism_awx_task.tar
echo "building BullSequana Edge Ansible AWX containers ...."
docker-compose -f docker-compose-awx.yml build

echo "starting BullSequana Edge Ansible AWX containers ...."
docker-compose -f docker-compose-awx.yml up -d

echo "start MISM AWX containers ...."
docker-compose -f docker-compose-mism-awx.yml up -d
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "now wait 10 minutes for the migration to complete...."
echo "check the login page at https://localhost"
Expand Down
27 changes: 15 additions & 12 deletions install_zabbix.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
#!/bin/sh

# restore images ...
echo "load mism_zabbix-server ..."
docker load -i mism_zabbix-server.tar
echo "load mism_zabbix-agent ..."
docker load -i mism_zabbix-agent.tar
echo "load mism_zabbix-web ..."
docker load -i mism_zabbix-web.tar
echo "load mism_pgadmin ..."
docker load -i mism_pgadmin.tar
echo "load mism_zabbix-postgres ..."
docker load -i mism_zabbix-postgres.tar
#echo "load mism_zabbix-server ..."
#docker load -i mism_zabbix-server.tar
#echo "load mism_zabbix-agent ..."
#docker load -i mism_zabbix-agent.tar
#echo "load mism_zabbix-web ..."
#docker load -i mism_zabbix-web.tar
#echo "load mism_pgadmin ..."
#docker load -i mism_pgadmin.tar
#echo "load mism_zabbix-postgres ..."
#docker load -i mism_zabbix-postgres.tar

echo "start MISM zabbix containers ...."
docker-compose -f docker-compose-mism-zabbix.yml up -d
echo "building BullSequana Edge Zabbix containers ...."
docker-compose -f docker-compose-zabbix.yml build

echo "starting BullSequana Edge Zabbix containers ...."
docker-compose -f docker-compose-zabbix.yml up -d
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Zabbix is available on https://localhost:4443"
echo "for more info, refer to documentation"
Expand Down
Loading

0 comments on commit acaceab

Please sign in to comment.