diff options
author | crupest <crupest@outlook.com> | 2022-11-22 14:24:57 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-22 14:24:57 +0800 |
commit | 6b6f5f78558938284984879bd2f86e4e1f2a45c3 (patch) | |
tree | bea8703ab58087e62700b1ac472e20891dd226db | |
parent | 17fee04b2cee96bf71c835bbf08398d392f743a9 (diff) | |
download | crupest-6b6f5f78558938284984879bd2f86e4e1f2a45c3.tar.gz crupest-6b6f5f78558938284984879bd2f86e4e1f2a45c3.tar.bz2 crupest-6b6f5f78558938284984879bd2f86e4e1f2a45c3.zip |
Fix custom docker image issue.
-rw-r--r-- | docker/auto-certbot/Dockerfile | 2 | ||||
-rw-r--r-- | template/docker-compose.yaml.template | 6 |
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" |