System Information
- Strapi Version: v4.13.7
- Operating System: win11
- Database: postgressSQL
- Node Version: v0.3.6
- NPM Version: 8.19.2
- Yarn Version:
Hello. So problem here its when I start deploy strapi app on digital ocean all my componets data will be deleted. I have this message on logs The build was skipped for component “strapiapp”
Oh and this my database.js
const parse = require(“pg-connection-string”).parse;
const config = parse(process.env.DATABASE_URL);
const { host, port, database, user, password } = parse(
process.env.DATABASE_URL
);
module.exports = ({ env }) => ({
connection: {
client: ‘postgres’,
connection: {
host,
port,
database,
user,
password,
ssl: {
rejectUnauthorized: false,
},
},
debug: false,
},
});
and server.js
module.exports = ({ env }) => ({
proxy: true,
url: env(‘APP_URL’), // Sets the public URL of the application.
app: {
keys: env.array(‘APP_KEYS’)
},
});