-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
28 lines (28 loc) · 726 Bytes
/
Copy pathcompose.yml
File metadata and controls
28 lines (28 loc) · 726 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
services:
postgres:
container_name: postgres-18
image: postgres:18-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: oF8yWaAkjBcEUAy1
POSTGRES_DB: ytweet
ports:
- "5432:5432"
volumes:
- ./db/pg:/var/lib/postgresql
redis:
container_name: redis
image: redis
ports:
- "6379:6379"
volumes:
- ./db/redis:/data
serverless-redis-http:
container_name: serverless-redis-http
ports:
- "8079:80"
image: hiett/serverless-redis-http:latest
environment:
SRH_MODE: env
SRH_TOKEN: example_token
SRH_CONNECTION_STRING: "redis://redis:6379" # Using `redis` hostname since they're in the same Docker network.