From 10f3d33cb5bae9ea3642dbcebae60eef1b582130 Mon Sep 17 00:00:00 2001 From: Donal McBreen Date: Thu, 19 Sep 2024 14:26:33 +0100 Subject: [PATCH] WIP --- test/fixtures/deploy_with_local_registry.yml | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 test/fixtures/deploy_with_local_registry.yml diff --git a/test/fixtures/deploy_with_local_registry.yml b/test/fixtures/deploy_with_local_registry.yml new file mode 100644 index 00000000..cf2aa8a4 --- /dev/null +++ b/test/fixtures/deploy_with_local_registry.yml @@ -0,0 +1,37 @@ +service: app +image: dhh/app +servers: + web: + - "1.1.1.1" + - "1.1.1.2" + workers: + - "1.1.1.3" + - "1.1.1.4" +registry: + server: localhost:5000 +builder: + arch: amd64 + +accessories: + mysql: + image: mysql:5.7 + host: 1.1.1.3 + port: 3306 + env: + clear: + MYSQL_ROOT_HOST: '%' + secret: + - MYSQL_ROOT_PASSWORD + files: + - test/fixtures/files/my.cnf:/etc/mysql/my.cnf + directories: + - data:/var/lib/mysql + redis: + image: redis:latest + roles: + - web + port: 6379 + directories: + - data:/data + +readiness_delay: 0