Fakultas Ilmu Komputer UI

Commit 0a3b8c7e authored by hashlash's avatar hashlash
Browse files

[CHORES] set service to always restart

parent 9cd582e4
......@@ -4,6 +4,7 @@ services:
backend:
build:
context: ./
restart: always
command: gunicorn sizakat.wsgi --bind 0.0.0.0:8000 --log-file -
volumes:
- ./:/app/backend/
......@@ -15,6 +16,7 @@ services:
- db
db:
image: postgres:12.0-alpine
restart: always
volumes:
- postgres_data:/var/lib/postgresql/data/
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