ci(api): docker-compose

This commit is contained in:
ttk
2024-09-09 13:20:05 +08:00
parent b158ccfaa7
commit b35b7bcd20
2 changed files with 3 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ auth:
acl:
appId: 5867e079dfd1437e9ae07576ab24b391
secretKey: 2qlTA4z@#KyigJLYHGrev?0WD6hjX*8E
url: http://acl-api/api/v1
url: http://acl-api:5000/api/v1
resourceNames:
- key: account
value: account

View File

@@ -79,13 +79,14 @@ services:
- |
envsubst '$$ONETERM_API_HOST $$ACL_API_HOST $$NGINX_PORT' < /etc/nginx/conf.d/nginx.oneterm.conf.example > /etc/nginx/conf.d/oneterm.conf
nginx -g 'daemon off;'
nginx -s reload
networks:
- new
ports:
- "8666:80"
acl-api:
image: registry.cn-hangzhou.aliyuncs.com/veops/acl-api:1.1
image: registry.cn-hangzhou.aliyuncs.com/veops/acl-api:latest
container_name: oneterm-acl-api
environment:
TZ: Asia/Shanghai