From aa7608eb069415a45c7ce96c00523fda8052ece0 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Fri, 7 Jan 2022 00:35:22 +0100 Subject: [PATCH] let docker-compose pull --- .drone.yml | 3 +-- docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index a2a0b47..1fd34b5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -74,8 +74,7 @@ steps: commands: - docker-compose -p infoscreen -f docker-compose.yml rm -s -v -f - docker rmi $${REGISTRY_HOST}/$${IMAGE} || true - - docker pull $${REGISTRY_HOST}/$${IMAGE} - - docker-compose -p infoscreen -f docker-compose.yml up --no-build -d + - docker-compose -p infoscreen -f docker-compose.yml up -d --- kind: pipeline type: ssh diff --git a/docker-compose.yml b/docker-compose.yml index 8cf23ef..f45cb1b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ version: '3' services: server: image: localhost:5000/infoscreen:latest + container_name: infoscreen restart: always ports: - 11460:80 # 1, 14th char in alphabet, 6th char in alphabet, 0 \ No newline at end of file