From d7fa4930cd5a1e64a9cf911e6a96717d7f3a7a2a Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Fri, 3 May 2024 21:52:58 +0800 Subject: [PATCH] chore: Update .gitignore to include .env_encoded file and add api_server service to production.yml --- .gitignore | 1 + production.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 1c6d3a2..edadc57 100644 --- a/.gitignore +++ b/.gitignore @@ -121,6 +121,7 @@ celerybeat.pid # Environments .env +.env_encoded .venv env/ venv/ diff --git a/production.yml b/production.yml index f857f64..4002904 100644 --- a/production.yml +++ b/production.yml @@ -263,6 +263,16 @@ services: networks: - net - default + + api_server: + image: furyhawk/listen:latest + container_name: api_server + restart: always + ports: + - "8000:8000" + networks: + - net + - default site_server: image: nginx:alpine