Fakultas Ilmu Komputer UI

Commit d2fc5e82 authored by Muhammad Rafif Elfazri's avatar Muhammad Rafif Elfazri
Browse files

Merge branch 'deploy-runtime' into 'master'

Update template guide to build image and docker-compose

See merge request !8
parents e7b3e78b 07cd023d
...@@ -22,7 +22,7 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku ...@@ -22,7 +22,7 @@ Sudah ready untuk dijalankan di production? Mohon [lihat deployment guide beriku
1. Build Image dengan perintah berikujt 1. Build Image dengan perintah berikujt
```docker build -t diskuy_backend .``` ```docker build -t diskuy-backend .```
### Deploy Production ### Deploy Production
......
...@@ -8,8 +8,9 @@ networks: ...@@ -8,8 +8,9 @@ networks:
attachable: true # Needed in order to run custom commands in the container attachable: true # Needed in order to run custom commands in the container
services: services:
app: diskuy-backend:
image: diskuy-backend image: diskuy-backend
container_name: diskuy-backend
ports: ports:
- "80:4000" - "80:4000"
env_file: env_file:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment