aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose-travis.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-25 09:09:47 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-25 09:09:47 +0000
commitfb3045d72ac1381a7c4fe088987b5988f6bf08e1 (patch)
treef1058ae5441f06ef0ba7fe1a76ef4b08ad18942a /docker-compose-travis.yaml
parentadded the secrets as env vars to travis build. added the travis badge (diff)
downloadhived-fb3045d72ac1381a7c4fe088987b5988f6bf08e1.tar.gz
hived-fb3045d72ac1381a7c4fe088987b5988f6bf08e1.zip
made a new docker-compose file for travis tests only
Diffstat (limited to 'docker-compose-travis.yaml')
-rw-r--r--docker-compose-travis.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/docker-compose-travis.yaml b/docker-compose-travis.yaml
new file mode 100644
index 0000000..6d1a06d
--- /dev/null
+++ b/docker-compose-travis.yaml
@@ -0,0 +1,32 @@
+version: "3.4"
+services:
+ hived:
+ image: hived
+ build:
+ context: ./
+ networks:
+ - hivednet
+ restart: unless-stopped
+ ports:
+ - "8008:8008"
+ depends_on:
+ - redis
+ entrypoint: /hived/docker-entrypoint.sh
+ redis:
+ image: redis:6.2-alpine
+ networks:
+ - hivednet
+ restart: unless-stopped
+ ports:
+ - "6379:6379"
+ environment:
+ - ALLOW_EMPTY_PASSWORD=yes
+ volumes:
+ - redis-data:/data/
+networks:
+ hivednet:
+ driver: bridge
+ routenet:
+ driver: bridge
+volumes:
+ redis-data: