build: 增加测试用docker-compose文件
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m57s

This commit is contained in:
2025-11-06 16:49:06 +08:00
parent 083a2695f3
commit 082fe9fea8

13
docker-compose.test.yml Normal file
View File

@ -0,0 +1,13 @@
services:
website:
image: git.jinshen.cn/remilia/jinshen-website
container_name: webService
restart: unless-stopped
env_file: .env
environment:
NUXT_PUBLIC_DIRECTUS_URL: ${DIRECTUS_URL}
NUXT_PUBLIC_DIRECTUS_TOKEN: ${DIRECTUS_TOKEN}
NUXT_PUBLIC_MEILI_HOST: ${MEILI_HOST}
NUXT_PUBLIC_MEILI_SEARCH_KEY: ${MEILI_MASTER_KEY}
ports:
- 3200:3000