testing gitlab

This commit is contained in:
Peter Kotyczka 2024-11-12 23:03:43 +01:00
parent 9ce2f87237
commit 7af1f83f5f
2 changed files with 20 additions and 2 deletions

12
.vscode/settings.json vendored
View File

@ -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
}

View File

@ -7,6 +7,9 @@ services:
environment:
- RABBITMQ_DEFAULT_USER=mqadmin
- 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: