Compare commits

..

5 Commits

Author SHA1 Message Date
ebb89a1865 refs #0 2023-11-05 15:04:16 +03:00
sbps-test user
de0452eb71 refs #0 2023-11-05 14:44:21 +03:00
0c5b455404 refs #0 2023-10-05 22:16:38 +03:00
f9d446aa37 refs #0 2023-10-05 22:15:16 +03:00
45afd34f93 refs #0 2023-10-05 22:06:28 +03:00
5 changed files with 13 additions and 3 deletions

5
.env Normal file
View File

@@ -0,0 +1,5 @@
POSTGRES_DB=postgres
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DATABASE_URL=postgresql://postgres:postgres@library-db/postgres

3
.gitignore vendored
View File

@@ -1,10 +1,9 @@
.npmrc .npmrc
.env
.svelte-kit/ .svelte-kit/
.idea/ .idea/
node_modules/ node_modules/
__pycache__/ __pycache__/
/postgres /postgres
tags tags
back/media
package-lock.json package-lock.json
front/build/

4
back/media/.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

View File

@@ -29,7 +29,7 @@ services:
working_dir: /code working_dir: /code
volumes: volumes:
- ./front:/code - ./front:/code
command: bash -c "npm install && npm run dev -- --host 0.0.0.0" command: bash -c "npm isntall && npm run dev -- --host 0.0.0.0"
ports: ports:
- "127.0.0.1:5173:5173" - "127.0.0.1:5173:5173"
networks: networks:

View File

@@ -19,6 +19,7 @@ server {
location / { location / {
access_log off; access_log off;
client_max_body_size 200M;
include proxy_params; include proxy_params;
proxy_send_timeout 600; proxy_send_timeout 600;
@@ -26,3 +27,4 @@ server {
proxy_pass http://127.0.0.1:5173; proxy_pass http://127.0.0.1:5173;
} }
} }