mirror of
https://github.com/veops/oneterm.git
synced 2026-09-03 07:25:15 +08:00
ci(api): docker-compose
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user