Skip to content

Commit 2772e97

Browse files
committed
chore: add uwsgi service in compose.yaml
For running a production-like environment locally. Refs: RATYK-199
1 parent 9d7acca commit 2772e97

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

compose.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ services:
2626
- postgres
2727
container_name: tirehtoori-backend
2828

29+
uwsgi:
30+
build:
31+
context: .
32+
dockerfile: .docker/Dockerfile
33+
target: production
34+
env_file:
35+
- .docker/.env
36+
ports:
37+
- "8080:8000"
38+
depends_on:
39+
- postgres
40+
container_name: tirehtoori-uwsgi
41+
profiles: ["uwsgi"]
42+
2943
volumes:
3044
tirehtoori-postgres-data-volume:
3145

0 commit comments

Comments
 (0)