Skip to content

Commit

Permalink
add docker
Browse files Browse the repository at this point in the history
  • Loading branch information
motty-mio2 committed Nov 16, 2023
1 parent ff8f940 commit d7e0084
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/Dockerfile_image
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM nginx:1.25

COPY ./imagestore/nginx.conf /etc/nginx/conf.d/
11 changes: 11 additions & 0 deletions deploy/imagestore/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
server {
listen 80;
# server_name example.com; # あなたのドメインに置き換えてください

location / {
alias /src/image;
autoindex off; # ディレクトリ内のファイル一覧を表示する場合
}

# その他の設定は必要に応じて追加してください
}

0 comments on commit d7e0084

Please sign in to comment.