File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ postgres :
3+ image : postgres:12
4+ environment :
5+ # This is the user your bot will login to the database with
6+ POSTGRES_USER : ${PG_USER}
7+ # This is the database name which will get created automagically for you.
8+ POSTGRES_DB : ${PG_DATABASE}
9+ # This is the port the database will use to communicate on.
10+ POSTGRES_PORT : ' 5432'
11+ # This is the password your bot will use to authenticate with the database
12+ POSTGRES_PASSWORD : ${PG_PASSWORD}
13+ # ports to expose to your machine (and others)
14+ ports :
15+ - " 5432:5432"
16+ # This allows the database to keep its data between being destroyed and re-created
17+ volumes :
18+ - postgres_data:/var/lib/postgresql/data
19+ redis :
20+ image : bitnami/redis:6.2.14
21+ container_name : manage-invite-redis
22+ environment :
23+ - REDIS_PASSWORD=${REDIS_PASSWORD}
24+ ports :
25+ - " 6379:6379"
26+ deploy :
27+ replicas : 1
28+
29+ volumes :
30+ postgres_data :
You can’t perform that action at this time.
0 commit comments