Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F627578
docker-compose.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
974 B
Referenced Files
None
Subscribers
None
docker-compose.yml
View Options
version
:
'3.8'
services
:
bot
:
build
:
.
env_file
:
.env
depends_on
:
postgres
:
condition
:
service_healthy
redis
:
condition
:
service_healthy
restart
:
unless-stopped
volumes
:
-
./downloads:/app/downloads
postgres
:
image
:
postgres:16-alpine
environment
:
POSTGRES_DB
:
${DATABASE_NAME:-mattata}
POSTGRES_USER
:
${DATABASE_USER:-mattata}
POSTGRES_PASSWORD
:
${DATABASE_PASSWORD:-changeme}
volumes
:
-
pgdata:/var/lib/postgresql/data
healthcheck
:
test
:
[
"CMD-SHELL"
,
"pg_isready
-U
${DATABASE_USER:-mattata}"
]
interval
:
5s
timeout
:
5s
retries
:
5
restart
:
unless-stopped
redis
:
image
:
redis:7-alpine
command
:
redis-server --appendonly yes
volumes
:
-
redisdata:/data
healthcheck
:
test
:
[
"CMD"
,
"redis-cli"
,
"ping"
]
interval
:
5s
timeout
:
5s
retries
:
5
restart
:
unless-stopped
volumes
:
pgdata
:
redisdata
:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 2:20 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
111046
Default Alt Text
docker-compose.yml (974 B)
Attached To
Mode
R69 mattata
Attached
Detach File
Event Timeline