mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
added test files and README, ready for pull request
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
To test the ansible playbook on localhost run ```ansible-playbook -i test.inventory.ini dev.yaml```.
|
||||
Point Redis Insights to the Redis database by visiting localhost:8001 in a browser and select "I already have a database" followed by "Connect to a Redis Database".
|
||||
For host, port and name fill in ```oasst-redis```, ```6379``` and ```redis```.
|
||||
+2
-10
@@ -12,8 +12,7 @@
|
||||
|
||||
- name: Set up Redis
|
||||
community.docker.docker_container:
|
||||
name: redis
|
||||
#name: oasst-redis
|
||||
name: oasst-redis
|
||||
image: redis
|
||||
state: started
|
||||
restart_policy: always
|
||||
@@ -31,20 +30,13 @@
|
||||
|
||||
- name: Set up Redis Insights
|
||||
community.docker.docker_container:
|
||||
name: redis-insights
|
||||
#name: oasst-redis-insights
|
||||
name: oasst-redis-insights
|
||||
image: redislabs/redisinsight:latest
|
||||
#command: pip install redis-cli python entry.pyc
|
||||
state: started
|
||||
restart_policy: always
|
||||
network_mode: oasst
|
||||
ports:
|
||||
- 8001:8001
|
||||
env:
|
||||
REDIS_URL: redis://redis:6379
|
||||
REDIS_HOST: redis
|
||||
#environment:
|
||||
#- REDIS_URL=redis://redis:6379
|
||||
|
||||
- name: Create postgres containers
|
||||
community.docker.docker_container:
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
[test]
|
||||
dev ansible_connection=local
|
||||
Reference in New Issue
Block a user