줄바꿈을 LF로 통일
서버에서 바로 빌드하고 고칠 수 있게 저장소 줄바꿈을 LF로 맞췄습니다. CRLF로 들어가 있던 sh 빌드 스크립트도 이제 리눅스에서 그대로 돌아갑니다. 내용은 바뀌지 않았습니다.
This commit is contained in:
1 parent
40615838ac
commit
2d48091205
623 files changed
+501372
-501365
No files matched your search
+54
-54
@@ -1,54 +1,54 @@
|
||||
services:
|
||||
web:
|
||||
image: nginx:stable-alpine
|
||||
container_name: tamagotchi-studio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:18130:80"
|
||||
volumes:
|
||||
- /home/syskiller/docker/tamagotchi/site:/usr/share/nginx/html:ro
|
||||
- /home/syskiller/docker/tamagotchi/nginx-static.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /var/cache/nginx
|
||||
- /var/run
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1/health.txt || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "5m"
|
||||
max-file: "3"
|
||||
backup:
|
||||
image: python:3.13-alpine
|
||||
container_name: tamagotchi-backup
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 10s
|
||||
user: "1000:1000"
|
||||
working_dir: /app
|
||||
command: ["python", "-B", "app.py"]
|
||||
environment:
|
||||
PUBLIC_ORIGIN: https://tama.itosm.co.kr
|
||||
volumes:
|
||||
- /home/syskiller/docker/tamagotchi/source/server:/app:ro
|
||||
- /home/syskiller/docker/tamagotchi/backups:/data
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp
|
||||
cap_drop: [ALL]
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
mem_limit: 256m
|
||||
pids_limit: 64
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/api/health', timeout=3)"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "5m"
|
||||
max-file: "3"
|
||||
services:
|
||||
web:
|
||||
image: nginx:stable-alpine
|
||||
container_name: tamagotchi-studio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:18130:80"
|
||||
volumes:
|
||||
- /home/syskiller/docker/tamagotchi/site:/usr/share/nginx/html:ro
|
||||
- /home/syskiller/docker/tamagotchi/nginx-static.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /var/cache/nginx
|
||||
- /var/run
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1/health.txt || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "5m"
|
||||
max-file: "3"
|
||||
backup:
|
||||
image: python:3.13-alpine
|
||||
container_name: tamagotchi-backup
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 10s
|
||||
user: "1000:1000"
|
||||
working_dir: /app
|
||||
command: ["python", "-B", "app.py"]
|
||||
environment:
|
||||
PUBLIC_ORIGIN: https://tama.itosm.co.kr
|
||||
volumes:
|
||||
- /home/syskiller/docker/tamagotchi/source/server:/app:ro
|
||||
- /home/syskiller/docker/tamagotchi/backups:/data
|
||||
read_only: true
|
||||
tmpfs:
|
||||
- /tmp
|
||||
cap_drop: [ALL]
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
mem_limit: 256m
|
||||
pids_limit: 64
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/api/health', timeout=3)"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "5m"
|
||||
max-file: "3"
|
||||
Reference in new issue
Block a user