-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
97 lines (90 loc) · 2.1 KB
/
docker-compose.yml
File metadata and controls
97 lines (90 loc) · 2.1 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
services:
app:
command: ./bin/thrust ./bin/rails server -p 3002 -b 0.0.0.0
build: .
environment:
- DB_HOST=postgres
- REDIS_URL_SIDEKIQ=redis://redis:6379/1
volumes:
- .:/rails
- kw-app-bundle:/usr/local/bundle
- kw-app-tmp:/rails/tmp
ports:
- "3002:3002"
depends_on:
- postgres
- redis
- mailcatcher
tty: true
stdin_open: true
networks:
- kw-app-network
postgres:
container_name: kw-app-postgres-10
image: 'postgres:10.3-alpine'
volumes:
- kw-app-postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=dev-user
- POSTGRES_PASSWORD=dev-password
ports:
- "5433:5432"
networks:
- kw-app-network
sidekiq:
container_name: kw-app-sidekiq
depends_on:
- postgres
- redis
build: .
command: ./bin/sidekiq -C config/sidekiq.yml
volumes:
- .:/rails
- kw-app-bundle:/usr/local/bundle
- kw-app-tmp:/rails/tmp
environment:
- DB_HOST=postgres
- REDIS_URL_SIDEKIQ=redis://redis:6379/1
stdin_open: true
tty: true
networks:
- kw-app-network
mailcatcher:
image: schickling/mailcatcher
ports:
- "1025:1025"
- "1080:1080"
networks:
- kw-app-network
redis:
container_name: kw-app-redis
image: 'redis:7-alpine'
command: redis-server --requirepass +eA8tga96sbquDe9CLL3yUZMNdHM6prSwD6kj1vXO4nzPPudDkxh4U+/LMtOWd+Wd72s9MnXNZqCKZeh
ports:
- '6380:6379'
volumes:
- kw-app-redis-data:/var/lib/redis/data
sysctls:
- net.core.somaxconn=4096
networks:
- kw-app-network
playwright:
container_name: kw-app-playwright
image: mcr.microsoft.com/playwright:v1.57.0-noble
command: /bin/sh -c "npx -y playwright@1.57.0 run-server --port 8080 --host 0.0.0.0"
ports:
- '8080:8080'
networks:
- kw-app-network
init: true
ipc: host
user: pwuser
working_dir: /home/pwuser
volumes:
kw-app-redis-data:
kw-app-postgres:
kw-app-bundle:
kw-app-tmp:
networks:
kw-app-network:
name: kw-app-network