hadim commited on
Commit
3f7316c
1 Parent(s): 02567a7
Files changed (2) hide show
  1. README.md +11 -0
  2. docker-compose.yml +2 -2
README.md CHANGED
@@ -31,3 +31,14 @@ QCF_COMPUTE_EXECUTORS='{"local": {"type": "local", "queue_tags": ["demo"], "core
31
  QCF_COMPUTE_SERVER_USERNAME="YOUR_USERNAME"
32
  QCF_COMPUTE_SERVER_PASSWORD="YOUR_PASSWORD"
33
  ```
 
 
 
 
 
 
 
 
 
 
 
 
31
  QCF_COMPUTE_SERVER_USERNAME="YOUR_USERNAME"
32
  QCF_COMPUTE_SERVER_PASSWORD="YOUR_PASSWORD"
33
  ```
34
+
35
+ ## Local Testing
36
+
37
+ With `docker-compose`:
38
+
39
+ ```bash
40
+ export QCF_COMPUTE_SERVER_USERNAME="YOUR_USERNAME"
41
+ export QCF_COMPUTE_SERVER_PASSWORD="YOUR_PASSWORD"
42
+
43
+ docker-compose run qcf_manager
44
+ ```
docker-compose.yml CHANGED
@@ -6,5 +6,5 @@ services:
6
  dockerfile: Dockerfile
7
  command: qcfractal-compute-manager
8
  environment:
9
- QCF_COMPUTE_SERVER_USERNAME: compute_user
10
- QCF_COMPUTE_SERVER_PASSWORD: compute_password
 
6
  dockerfile: Dockerfile
7
  command: qcfractal-compute-manager
8
  environment:
9
+ QCF_COMPUTE_SERVER_USERNAME: ${QCF_COMPUTE_SERVER_USERNAME}
10
+ QCF_COMPUTE_SERVER_PASSWORD: ${QCF_COMPUTE_SERVER_PASSWORD}