This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
101 lines (94 loc) · 2.59 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
version: "3.7"
services:
app: &app
build:
context: .
target: development
user: "${UID:-0}:${GID:-0}"
volumes:
- home:/home/develop:cached
- .:/home/develop/app:cached
- ./config/database.docker.yml:/home/develop/app/config/database.yml:ro
# - ./tmp/fonts/mova:/app/app/webpacker/fonts/mova:ro
ports:
- "3000:3000"
command: ["bin/rails-dev-server"]
environment:
APP_HOST: "app:3000"
E2E_SERVER_PORT: "3001"
E2E_APP_HOST: "app.local:3001"
SELENIUM_HOST: "selenium:4444"
CAMP_START: ${CAMP_START}
CAMP_END: ${CAMP_END}
DATABASE_CLEANER_ALLOW_REMOTE_DATABASE_URL: "true"
SEND_PROGRAM_CHANGE_LOG_NOTIFICATIONS: "true"
RUBYOPT: "-W:no-deprecated -W:no-experimental"
APP_BASE_URL: http://orca.localhost:3000
LOG_LEVEL: ${LOG_LEVEL}
MEMCACHE_SERVERS: memcached
SECRET_KEY_BASE: "secret"
OIDC_CLIENT_ID: ${OIDC_CLIENT_ID}
OIDC_ISSUER: ${OIDC_ISSUER}
OIDC_CLIENT_SECRET_KEY: ${OIDC_CLIENT_SECRET_KEY}
MIDATA_BASE_URL: ${MIDATA_BASE_URL}
MIDATA_USER_EMAIL: ${MIDATA_USER_EMAIL}
MIDATA_USER_TOKEN: ${MIDATA_USER_TOKEN}
MIDATA_OAUTH_ACCESS_TOKEN: ${MIDATA_OAUTH_ACCESS_TOKEN}
LIMESURVEY_USERNAME: ${LIMESURVEY_USERNAME}
LIMESURVEY_PASSWORD: ${LIMESURVEY_PASSWORD}
LIMESURVEY_SURVEY_ID: ${LIMESURVEY_SURVEY_ID}
VIRTUAL_HOST: ${DOMAIN}
DEVISE_PEPPER: "rake secret"
DEVISE_SECRET_KEY: "rake secret"
ROOT_CAMP_UNIT_ID_WOLF: 1328
ROOT_CAMP_UNIT_ID_PFADI: 1329
ROOT_CAMP_UNIT_ID_PIO: 1328
ROOT_CAMP_UNIT_ID_PTA: 1328
SENTRY_DSN: ${SENTRY_DSN}
SENTRY_ENVIRONMENT: ${SENTRY_ENVIRONMENT}
SMTP_HOST: mail
SMTP_USER: ""
SMTP_PASSWORD: ""
SMTP_PORT: 25
SMTP_AUTH: ${SMTP_AUTH:-plain}
VISITOR_DAY_ACTIVITY_ID: 1
REDIS_URL: "redis://redis/0"
STAFF_TOKEN: "1234"
depends_on:
- db
- dbadmin
- mail
- redis
tty: true
stdin_open: true
selenium:
image: selenium/standalone-chrome-debug
logging:
driver: none
networks:
selenium:
db:
image: postgres:11-alpine
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: orca_e2e
POSTGRES_PASSWORD: postgres
dbadmin:
image: dpage/pgadmin4
ports:
- "8080:80"
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: password
mail:
image: tophfr/mailcatcher
ports:
- "1080:80"
redis:
image: redis:6
volumes:
db_data:
home:
networks:
selenium: