Merge branch 'main' into thoon

This commit is contained in:
이태훈
2026-06-25 10:23:02 +09:00
7 changed files with 7528 additions and 1611 deletions

View File

@@ -7,4 +7,4 @@ build
npm-debug.log npm-debug.log
uploads uploads
*.xlsx *.xlsx
*.log *.log

1
.gitignore vendored
View File

@@ -6,3 +6,4 @@ dist/
.DS_Store .DS_Store
Thumbs.db Thumbs.db
backups/ backups/
mysql_data/

View File

@@ -55,3 +55,19 @@ services:
retries: 3 retries: 3
start_period: 20s start_period: 20s
database:
image: mysql:latest
container_name: itam-mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=itam1234 # 여기 직접 기입
- MYSQL_DATABASE=itam
- MYSQL_USER=itam
- MYSQL_PASSWORD=itam1234
volumes:
- ./mysql_data:/var/lib/mysql
restart: always
command:
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_unicode_ci

5895
itam_DB_bak.sql Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,29 +1,29 @@
import { defineConfig } from 'vite'; import { defineConfig } from 'vite';
import { resolve } from 'path'; import { resolve } from 'path';
const proxyTarget = process.env.VITE_DEV_PROXY_TARGET || 'http://localhost:3000'; const proxyTarget = process.env.VITE_DEV_PROXY_TARGET || 'http://localhost:3000';
export default defineConfig({ export default defineConfig({
server: { server: {
port: 8080, port: 8080,
host: true, // Listen on all local IPs host: true, // Listen on all local IPs
proxy: { proxy: {
'/api': { '/api': {
target: proxyTarget, target: proxyTarget,
changeOrigin: true, changeOrigin: true,
}, },
'/uploads': { '/uploads': {
target: proxyTarget, target: proxyTarget,
changeOrigin: true, changeOrigin: true,
} }
} }
}, },
build: { build: {
rollupOptions: { rollupOptions: {
input: { input: {
main: resolve(__dirname, 'index.html'), main: resolve(__dirname, 'index.html'),
map_editor: resolve(__dirname, 'map_editor.html'), map_editor: resolve(__dirname, 'map_editor.html'),
} }
} }
} }
}); });