Compare commits
5 Commits
d6e177864a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ebb89a1865 | |||
|
|
de0452eb71 | ||
| 0c5b455404 | |||
| f9d446aa37 | |||
| 45afd34f93 |
5
.env
Normal file
5
.env
Normal 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
3
.gitignore
vendored
@@ -1,10 +1,9 @@
|
||||
.npmrc
|
||||
.env
|
||||
.svelte-kit/
|
||||
.idea/
|
||||
node_modules/
|
||||
__pycache__/
|
||||
/postgres
|
||||
tags
|
||||
back/media
|
||||
package-lock.json
|
||||
front/build/
|
||||
|
||||
4
back/media/.gitignore
vendored
Normal file
4
back/media/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory
|
||||
*
|
||||
# Except this file
|
||||
!.gitignore
|
||||
@@ -29,7 +29,7 @@ services:
|
||||
working_dir: /code
|
||||
volumes:
|
||||
- ./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:
|
||||
- "127.0.0.1:5173:5173"
|
||||
networks:
|
||||
|
||||
@@ -19,6 +19,7 @@ server {
|
||||
|
||||
location / {
|
||||
access_log off;
|
||||
client_max_body_size 200M;
|
||||
|
||||
include proxy_params;
|
||||
proxy_send_timeout 600;
|
||||
@@ -26,3 +27,4 @@ server {
|
||||
proxy_pass http://127.0.0.1:5173;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user