From 0803e235a45104d8c194579236a8d008352f441c Mon Sep 17 00:00:00 2001 From: qwqcode Date: Wed, 7 Aug 2024 18:50:14 +0800 Subject: [PATCH] chore(docker): update docker-compose.yml file sample --- docker-compose.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index cdad2d3a2..3cbaa2350 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,8 +1,9 @@ -version: "3.5" +version: '3.8' services: artalk: container_name: artalk image: artalk/artalk-go + restart: unless-stopped build: context: ./ dockerfile: Dockerfile @@ -10,3 +11,8 @@ services: - 8080:23366 volumes: - ./data:/data + environment: + - TZ=Asia/Shanghai + - ATK_LOCALE=zh-CN + - ATK_SITE_DEFAULT=Artalk 的博客 + - ATK_TRUSTED_DOMAINS=https://your_domain