summaryrefslogtreecommitdiff
path: root/docker-start-containers
blob: ecfbc840376005a3974a13d3497b396c1f9e4cf6 (plain)
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
#!/bin/bash

# start the neo4j container
docker run -d --name neo4j  \
     --privileged  \
     -p 127.0.0.1:7474:7474  \
     -p 127.0.0.1:1337:1337  \
     --restart=always  \
     -v /srv/ci-reporting/data:/var/lib/neo4j/data  \
     clarktlaugh/neo4j-docker-community

# start the static log web server container
docker run -d --name static-log-server  \
     --privileged  \
     -p 81:8080  \
     --restart=always  \
     -v /srv/ci-reporting/logs:/var/www  \
     lighttpd-static

# start the web-app container, linked to the neo4j container
docker run -d --name tempest-ci-webapp  \
     --link neo4j:neo4j  \
     -p 80:8081  \
     --restart=always  \
     tempest-ci-webapp