diff --git a/README.md b/README.md index cfc056c..6a4a2fd 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,8 @@ Sebelum memulai, pastikan Anda telah menginstal: ```sh git submodule update --init --recursive ``` - -3. **Ganti example.env ke .env:** - ```sh - mv example.env .env - ``` -4**Build Image Docker:** +3. **Build Image Docker:** ```sh docker compose build ``` diff --git a/docker-compose-dev.yaml b/docker-compose-dev.yaml index 36b1f92..7b71290 100644 --- a/docker-compose-dev.yaml +++ b/docker-compose-dev.yaml @@ -20,7 +20,7 @@ services: expose: - 3001 environment: - - NODE_ENV=production + - NODE_ENV=development networks: zannime-dev: \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index c7395cc..0f21db0 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,6 +9,7 @@ services: - "3000:3000" environment: - NODE_ENV=production + - API_URL=http://wajik-anime-api-dev:3001 depends_on: - wajik-anime-api diff --git a/example.env b/example.env deleted file mode 100644 index f6ca28e..0000000 --- a/example.env +++ /dev/null @@ -1,3 +0,0 @@ -PORT=3000 -API_URL=http://wajik-anime-api:3001 -NODE_ENV=production \ No newline at end of file