From 2b1d1852ef31c7a202975681e49993e3be435e56 Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Fri, 17 Oct 2025 12:40:43 +0000 Subject: [PATCH 1/2] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e83c290 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +stages: # List of stages for jobs, and their order of execution + - deploy + + +deploy-job: # This job runs in the deploy stage. + stage: deploy # It only runs when *both* jobs in the test stage complete successfully. + environment: production + script: + - docker compose up -d + tags: + - media \ No newline at end of file From 056d58b8ed72e2178a530fc5bac2ac92717ac772 Mon Sep 17 00:00:00 2001 From: Marek Lesko Date: Fri, 17 Oct 2025 13:01:04 +0000 Subject: [PATCH 2/2] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e83c290..c1f9280 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,18 @@ + stages: # List of stages for jobs, and their order of execution - deploy deploy-job: # This job runs in the deploy stage. stage: deploy # It only runs when *both* jobs in the test stage complete successfully. + image: docker:latest + services: + - name: docker:dind + alias: docker + variables: + DOCKER_DRIVER: overlay2 + DOCKER_HOST: tcp://docker:2375 + DOCKER_TLS_CERTDIR: "" environment: production script: - docker compose up -d