aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-08-14 00:28:12 +0800
committercrupest <crupest@outlook.com>2024-08-15 00:07:21 +0800
commitd50545a36323e7a9775ab933021a94a9d98058f4 (patch)
tree09504e7755b7803e518baaa11d255f35ed6c9817
parentd8d66fc6227101472ac195a116c779d3aa099737 (diff)
downloadcrupest-d50545a36323e7a9775ab933021a94a9d98058f4.tar.gz
crupest-d50545a36323e7a9775ab933021a94a9d98058f4.tar.bz2
crupest-d50545a36323e7a9775ab933021a94a9d98058f4.zip
feat(docker/debian-dev): add debian-dev to compose.
-rw-r--r--template/docker-compose.yaml.template15
1 files changed, 14 insertions, 1 deletions
diff --git a/template/docker-compose.yaml.template b/template/docker-compose.yaml.template
index 060a3c2..4f85036 100644
--- a/template/docker-compose.yaml.template
+++ b/template/docker-compose.yaml.template
@@ -145,7 +145,20 @@ services:
timeout: 3s
retries: 0
+ debian-dev:
+ pull_policy: build
+ build:
+ context: ./docker/code-server
+ dockerfile: Dockerfile
+ pull: true
+ tags:
+ - "crupest/debian-dev:latest"
+ container_name: debian-dev
+ restart: on-failure:3
+ volumes:
+ - ./data/debian-dev:/data
+ - debian-dev-state:/state
volumes:
blog-public:
-
+ debian-dev-state: