diff --git a/.vscode/settings.json b/.vscode/settings.json index 00a609e..059ee33 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,5 +3,15 @@ "pyapp" ], "python.testing.unittestEnabled": false, - "python.testing.pytestEnabled": true + "python.testing.pytestEnabled": true, + "sqltools.connections": [ + { + "previewLimit": 50, + "driver": "SQLite", + "name": "test-db", + "group": "django", + "database": "${workspaceFolder:django}/pyapp/db.sqlite3" + } + ], + "sqltools.useNodeRuntime": true } \ No newline at end of file diff --git a/docker-compose-queue.yml b/docker-compose-queue.yml index 43921b3..dc9a082 100755 --- a/docker-compose-queue.yml +++ b/docker-compose-queue.yml @@ -6,7 +6,10 @@ services: restart: unless-stopped environment: - RABBITMQ_DEFAULT_USER=mqadmin - - RABBITMQ_DEFAULT_PASS=3Mnj29jKBsFybc + - RABBITMQ_DEFAULT_PASS=3Mnj29jKBsFybc + # - RABBITMQ_SSL_CERTFILE=/cert_rabbitmq/testca/cacert.pem + # - RABBITMQ_SSL_KEYFILE=/cert_rabbitmq/server/cert.pem + # - RABBITMQ_SSL_CACERTFILE=/cert_rabbitmq/server/key.pem ports: # The standard AMQP protocol port - '5672:5672' @@ -15,6 +18,11 @@ services: volumes: - ./demo/pyapp/queue/data/:/var/lib/rabbitmq/ - ./demo/pyapp/queue/log/:/var/log/rabbitmq/ + - ./data:/var/lib/rabbitmq/ + # - ./certs/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro + # - ./certs/root.crt:/etc/ssl/rmq-cacert.pem:ro + # - ./certs/server.crt:/etc/ssl/rmq-cert.pem:ro + # - ./certs/server.key:/etc/ssl/rmq-key.pem:ro networks: - ametiq networks: