-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (46 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
47 lines (46 loc) · 1.11 KB
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
46
47
services:
postgres:
env_file:
- .env
image: postgres:15-alpine
volumes:
- postgres-vol:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: always
container_name: "postgres"
redis:
image: redis:7.2.0-alpine
restart: always
command: /bin/sh -c "exec redis-server --requirepass $$REDIS_HOST_PASSWORD"
ports:
- "6379:6379"
env_file: .env
container_name: "redis-server"
volumes:
- redis-data:/data
minio:
image: minio/minio:RELEASE.2025-02-03T21-03-04Z
restart: always
command: server /data --console-address :9001
ports:
- "9001:9001"
- "9000:9000"
env_file: .env
container_name: "minio"
volumes:
- minio-data:/data
extra_hosts:
- "host.docker.internal:host-gateway"
playwright:
image: mcr.microsoft.com/playwright:v1.49.0
restart: always
container_name: "playwright-e2e"
init: true
ipc: host
command: ["/bin/sh", -c, "cd /home/pwuser && npx -y playwright@1.49.0 run-server --port 5000"]
network_mode: host
volumes:
postgres-vol:
redis-data:
minio-data: