Skip to content

Commit

Permalink
Merge pull request #58 from isd-sgcu/dev
Browse files Browse the repository at this point in the history
update main
  • Loading branch information
bookpanda authored Jul 14, 2024
2 parents 2aad48c + 49b30c0 commit 91c64ef
Show file tree
Hide file tree
Showing 25 changed files with 3,034 additions and 2,885 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
NEXT_PUBLIC_API_BASE_URL=
NEXT_PUBLIC_FIRST_DATE_DATE= 2024-07-21
NEXT_PUBLIC_RUP_PEUN_DATE= 2024-07-20
NEXT_PUBLIC_RUP_PEUN_DATE= 2024-07-20
BASE_DOMAIN_IMAGES=
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ services:
build:
context: .
environment:
NEXT_PUBLIC_API_BASE_URL: https://rpkm67-dev.sgcu.in.th/api/v1
NEXT_PUBLIC_FIRST_DATE_DATE: '2024-07-21'
NEXT_PUBLIC_RUP_PEUN_DATE: '2024-07-20'
API_BASE_URL: https://rpkm67-dev.sgcu.in.th/api/v1
FIRST_DATE_DATE: '2024-07-21'
RUP_PEUN_DATE: '2024-07-20'
ports:
- 80:3000
13 changes: 13 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: process.env.BASE_DOMAIN_IMAGES ?? '*',
},
],
},
env: {
NEXT_PUBLIC_API_BASE_URL: process.env.API_BASE_URL,
NEXT_PUBLIC_FIRST_DATE_DATE: process.env.FIRST_DATE_DATE,
NEXT_PUBLIC_RUP_PEUN_DATE: process.env.RUP_PEUN_DATE,
},
};

export default nextConfig;
Loading

0 comments on commit 91c64ef

Please sign in to comment.