Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrimbda committed Feb 20, 2024
1 parent 34316b7 commit 466b023
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions apps/vendor-ccxt/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default (context: IExtensionContext) => {
make_docker_compose_file: async (ctx, envCtx) => {
return {
[`ccxt-${ctx.env!.EXCHANGE_ID}-${ctx.env!.ACCOUNT_ID}`.replace(/\s/g, '')]: {
image: `registry.ap-southeast-1.aliyuncs.com/ntnl-y/vendor-ccxt:${ctx.version ?? envCtx.version}`,
image: `ghcr.io/no-trade-no-life/vendor-ccxt:${ctx.version ?? envCtx.version}`,
restart: 'always',

environment: makeDockerEnvs(ctx.env),
Expand Down Expand Up @@ -67,9 +67,7 @@ export default (context: IExtensionContext) => {
containers: [
{
env: makeK8sEnvs(ctx.env),
image: `registry.ap-southeast-1.aliyuncs.com/ntnl-y/vendor-ccxt:${
ctx.version ?? envCtx.version
}`,
image: `ghcr.io/no-trade-no-life/vendor-ccxt:${ctx.version ?? envCtx.version}`,
imagePullPolicy: 'IfNotPresent',
name: 'ccxt',
resources: {
Expand All @@ -85,11 +83,6 @@ export default (context: IExtensionContext) => {
},
],
hostname: 'ccxt',
imagePullSecrets: [
{
name: 'pull-secret',
},
],
},
},
},
Expand Down

0 comments on commit 466b023

Please sign in to comment.