-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
74 lines (68 loc) · 1.5 KB
/
docker-compose.yml
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
services:
app:
build:
context: .
target: development
# user: "${UID:-0}:${GID:-0}"
volumes:
- .:/rails
- bundle:/usr/local/bundle:cached
ports:
- "3000:3000"
- "3036:3036"
environment:
APP_HOST: ${APP_HOST:-heimv.localhost:3000}
E2E_SERVER_PORT: "3001"
E2E_TARGET_HOST: "app:3001"
SELENIUM_HOST: "selenium:4444"
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL: "true"
SMTP_SETTINGS: '{ "address":"mail" }'
MAIL_FROM: "no-reply@heimverwaltung.localhost"
REDIS_URL: "redis://redis/0"
ACTIVE_JOB_QUEUE_ADAPTER: "sidekiq"
TRANSLATION_IO_API_KEY: ${TRANSLATION_IO_API_KEY}
PRIVACY_STATEMENT_URL: ${PRIVACY_STATEMENT_URL}
GITHUB_URL: ${GITHUB_URL}
RAILS_PERFORM_CACHING: ${RAILS_PERFORM_CACHING}
depends_on:
- db
- mail
- redis
tty: true
stdin_open: true
networks:
main:
selenium:
# aliases:
# - "app.local"
selenium:
image: selenium/standalone-chrome-debug
logging:
driver: none
networks:
selenium:
db:
image: postgres:16-alpine
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: heimverwaltung_e2e
POSTGRES_PASSWORD: postgres
networks:
main:
redis:
image: redis:6
networks:
main:
mail:
image: tophfr/mailcatcher
ports:
- "1080:80"
networks:
main:
volumes:
db_data:
bundle:
networks:
selenium:
main: