Commit Graph

8 Commits (bc6332dae4b77930eb8498934e0c3bd3c70479e0)

Author SHA1 Message Date
Jason Hedden 23fb91d326 Add docker-compose support
This commit separates the AIL Framework services into individual Docker
containers that can be managed with docker-compose. It's intended to ease the
installation, development and troubleshooting procedures for all-in-one
deployments.

No changes to architecture or base code are required in this commit.

Changes to existing files:
.gitignore
  * Ignore pystemon archive directory

Dockerfile:
  * Add AIL shell environment variables
  * Install pystemon and crawler pip requirements into AIL virtual environment

Docker-compose notes:
  * All containers are participating in a service network `network_mode:
  service:flask`.  This allows the containers to share the same IP namespace
  to accommodate hard-coded localhost entries.
  * By default persistent data is saved to the following directories in the
  local AIL framework git directory: PASTES, HASHS, CRAWLED_SCREENSHOTS,
  pystemon/archives

This was tested with docker-ce on Ubuntu 16.04 and MacOS. A typical deployment
would look like:
```
git clone https://github.com/CIRCL/AIL-framework.git
cd AIL-framework
cp bin/packages/config.cfg.docker-compose-sample bin/packages/config.cfg
	(optionally enable activate_crawler in config.cfg)
docker-compose build
docker-compose up -d
```
2019-03-11 19:46:34 -05:00
Mike Eriksson 3ff991995e Changed the Dockerfile so that it starts with installing any and all outstanding updates for Ubuntu 2018-12-09 12:29:31 +00:00
kovacsbalu 10ea615d52 Fix docekrfile CMD 2018-09-04 09:20:57 +02:00
kovacsbalu d19dd72f99 Install pystemon and start pystemon-feeder in docker 2018-09-03 16:01:39 +02:00
Olivier Bilodeau a8a8e47c58 Fixes encoding issue with MISP Galaxies JSON files 2018-06-22 16:58:13 -04:00
Simon Tran 6b43d2a067 Updated Dockerfile
- Migrated Dockerfile to Ubuntu 16.04 LTS
- Fixed dependency to "sudo"
- Fixed AIL Web dependencies installation
- Added Docker documentation
2017-10-01 02:29:56 +02:00
Simon Tran a41c5d55c5 Migrated Dockerfile to Ubuntu 16.04 LTS
Fixed AIL Web dependencies installation
Added Docker documentation
2017-10-01 02:23:32 +02:00
Simon Tran 60bd0f3bbe Added Dockerfile to automate the build of a Docker image based on Ubuntu
14.04 LTS.
2016-08-27 10:29:20 +02:00