aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docker/auto-certbot/Dockerfile2
-rw-r--r--template/docker-compose.yaml.template6
2 files changed, 5 insertions, 3 deletions
diff --git a/docker/auto-certbot/Dockerfile b/docker/auto-certbot/Dockerfile
index 44b9b73..53ab077 100644
--- a/docker/auto-certbot/Dockerfile
+++ b/docker/auto-certbot/Dockerfile
@@ -5,4 +5,4 @@ ARG CRUPEST_CERTBOT_RENEW_COMMAND=""
RUN apk add --no-cache bash
COPY daemon.bash /daemon.bash
VOLUME ["/var/www/certbot", "/etc/letsencrypt", "/var/lib/letsencrypt"]
-ENTRYPOINT [ "bash", "/daemon.bash" ]
+ENTRYPOINT [ "/daemon.bash" ]
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index 6da2c3c..058a60c 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -37,7 +37,6 @@ services:
- internal
code-server:
- image: crupest/arch-code-server:latest
build:
context: ./docker/arch-code-server
dockerfile: Dockerfile
@@ -48,6 +47,8 @@ services:
- CRUPEST_UID=$CRUPEST_UID
- CRUPEST_GID=$CRUPEST_GID
- USE_CHINA_MIRROR=$CRUPEST_IN_CHINA
+ tags:
+ - "crupest/arch-code-server:latest"
container_name: code-server
restart: on-failure:3
volumes:
@@ -76,13 +77,14 @@ services:
- internal
auto-certbot:
- image: crupest/auto-certbot:latest
build:
context: ./docker/auto-certbot
dockerfile: Dockerfile
pull: true
args:
- CRUPEST_DOMAIN=$CRUPEST_DOMAIN
+ tags:
+ - "crupest/auto-certbot:latest"
container_name: auto-certbot
volumes:
- "./data/certbot/certs:/etc/letsencrypt"