Skip to content

Commit c7889ec

Browse files
committed
Configure Docker
1 parent 67f4760 commit c7889ec

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

docker-compose.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
services:
2+
redis:
3+
image: redis:latest
4+
container_name: redis
5+
ports:
6+
- "6379:6379"
7+
networks:
8+
- backend
9+
10+
11+
postgres:
12+
image: postgres:latest
13+
container_name: postgres
14+
environment:
15+
POSTGRES_USER: TEAM
16+
POSTGRES_PASSWORD: DEV
17+
POSTGRES_DB: SUPPORTIX
18+
ports:
19+
- "5432:5432"
20+
networks:
21+
- backend
22+
volumes:
23+
- postgres_data:/var/lib/postgresql/data
24+
25+
26+
networks:
27+
backend:
28+
driver: bridge
29+
30+
volumes:
31+
postgres_data:
32+
driver: local

management/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ billiard==4.2.1
99
celery==5.5.2
1010
cffi==1.17.1
1111
channels==4.2.2
12+
psycopg2==2.9.10
1213
click==8.1.8
1314
click-didyoumean==0.3.1
1415
click-plugins==1.1.1

0 commit comments

Comments
 (0)