renamed: spa/vue/servers/authserver.js -> node_servers/authserver.js
renamed: spa/vue/servers/feedbackserver.js -> node_servers/feedbackserver.js renamed: spa/vue/servers/techsupportserver.js -> node_servers/techsupportserver.js add and set to one more Docker coneiner for node servers
This commit is contained in:
@@ -16,7 +16,7 @@ app.use(cors());
|
|||||||
// Подключение к PostgreSQL
|
// Подключение к PostgreSQL
|
||||||
const pool = new Pool({
|
const pool = new Pool({
|
||||||
user: 'postgres',
|
user: 'postgres',
|
||||||
host: 'localhost',
|
host: 'db',
|
||||||
database: 'postgres',
|
database: 'postgres',
|
||||||
password: 'postgres',
|
password: 'postgres',
|
||||||
port: 5432,
|
port: 5432,
|
||||||
@@ -12,7 +12,7 @@ app.use(bodyParser.json());
|
|||||||
|
|
||||||
const pool = new Pool({
|
const pool = new Pool({
|
||||||
user: 'postgres',
|
user: 'postgres',
|
||||||
host: 'localhost',
|
host: 'db',
|
||||||
database: 'postgres',
|
database: 'postgres',
|
||||||
password: 'postgres',
|
password: 'postgres',
|
||||||
port: 5432,
|
port: 5432,
|
||||||
@@ -12,7 +12,7 @@ app.use(bodyParser.json());
|
|||||||
|
|
||||||
const pool = new Pool({
|
const pool = new Pool({
|
||||||
user: 'postgres',
|
user: 'postgres',
|
||||||
host: 'localhost',
|
host: 'db',
|
||||||
database: 'postgres',
|
database: 'postgres',
|
||||||
password: 'postgres',
|
password: 'postgres',
|
||||||
port: 5432,
|
port: 5432,
|
||||||
Reference in New Issue
Block a user