-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
45 lines (41 loc) · 987 Bytes
/
Copy pathcompose.yml
File metadata and controls
45 lines (41 loc) · 987 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
name: 'Futureself'
services:
futureself-backend:
build:
context: .
dockerfile: docker/api.Dockerfile
container_name: futureself-api
restart: unless-stopped
env_file: .env
ports:
- 5010:5001
futureself-web:
build:
context: .
dockerfile: docker/web.Dockerfile
container_name: futureself-web
restart: unless-stopped
env_file: .env
ports:
- 8010:5173
futureself-postgres:
image: postgres:18.3
container_name: futureself-postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: please-change-me-M2ncjemKrtsVBrTuho
POSTGRES_DB: futureself
ports:
- 5432:5432
volumes:
- pg_data:/var/lib/postgresql
futureself-redis:
image: redis:8.6
container_name: futureself-redis
command: redis-server --requirepass please-change-me-GWLq7kqLcWhEkVoZ
ports:
- "6379:6379"
restart: unless-stopped
volumes:
pg_data: