-
-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (42 loc) · 905 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
45 lines (42 loc) · 905 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
services:
db:
image: postgres:16-alpine
container_name: nelsonlaidev-postgres
ports:
- 5432:5432
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=nelsonlaidev
volumes:
- db:/var/lib/postgresql/data
networks:
- nelsonlaidev-network
redis:
image: redis
container_name: nelsonlaidev-redis
ports:
- 6379:6379
volumes:
- redis:/data
networks:
- nelsonlaidev-network
serverless-redis-http:
image: hiett/serverless-redis-http:latest
container_name: nelsonlaidev-redis-http
ports:
- 8079:80
environment:
SRH_MODE: env
SRH_TOKEN: nelsonlaidev
SRH_CONNECTION_STRING: redis://redis:6379
networks:
- nelsonlaidev-network
depends_on:
- redis
volumes:
db:
redis:
networks:
nelsonlaidev-network:
driver: bridge