Skip to content

Commit

Permalink
build: env 파일 받도록 docker-compsoe 파일 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
jimin52 committed Nov 26, 2023
1 parent df6a16e commit 5f8a07d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
cd /home/opc/backend
git checkout deploy-test
git pull
echo "MYSQL_ROOT_PASSWORD=${{ secrets.MYSQL_ROOT_PASSWORD }}
MYSQL_DATABASE=${{ secrets.MYSQL_DATABASE }}
MYSQL_USER=${{ secrets.MYSQL_USER }}
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ services:
- ./backend/logs:/app/backend/logs
ports:
- 3000:3000
env_file:
- .env
22 changes: 0 additions & 22 deletions nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,4 @@ server {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}

0 comments on commit 5f8a07d

Please sign in to comment.