Target dockerfile prod step in prod
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
cb0a2f77a8
commit
efec10e6d6
@ -5,6 +5,7 @@ steps:
|
|||||||
- name: publish nextjs container
|
- name: publish nextjs container
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
target: prod
|
||||||
username: 3wordchant
|
username: 3wordchant
|
||||||
password:
|
password:
|
||||||
from_secret: git_autonomic_zone_token_3wc
|
from_secret: git_autonomic_zone_token_3wc
|
||||||
|
@ -7,6 +7,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- "NAME=${STACK_NAME}"
|
- "NAME=${STACK_NAME}"
|
||||||
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
|
- "PAYLOAD_SECRET_FILE=/run/secrets/payload_secret"
|
||||||
|
- "BASE_URL=nextload.swarm-demo.autonomic.zone"
|
||||||
- "MONGODB_USER=mongo"
|
- "MONGODB_USER=mongo"
|
||||||
- "MONGODB_HOST=${STACK_NAME}_mongo"
|
- "MONGODB_HOST=${STACK_NAME}_mongo"
|
||||||
- "MONGODB_PORT=27017"
|
- "MONGODB_PORT=27017"
|
||||||
|
@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@ -11,7 +15,7 @@
|
|||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "preserve",
|
||||||
"incremental": true,
|
"incremental": true,
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
@ -19,13 +23,28 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"],
|
"@/*": [
|
||||||
"@payload/*": ["./src/app/(payload)/*"],
|
"./src/*"
|
||||||
"@app/*": ["./src/app/(app)/*"],
|
],
|
||||||
"@payload-config": ["./payload.config.ts"]
|
"@payload/*": [
|
||||||
|
"./src/app/(payload)/*"
|
||||||
|
],
|
||||||
|
"@app/*": [
|
||||||
|
"./src/app/(app)/*"
|
||||||
|
],
|
||||||
|
"@payload-config": [
|
||||||
|
"./payload.config.ts"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"target": "ES2017"
|
"target": "ES2017"
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": [
|
||||||
"exclude": ["node_modules"]
|
"next-env.d.ts",
|
||||||
|
"**/*.ts",
|
||||||
|
"**/*.tsx",
|
||||||
|
".next/types/**/*.ts"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user