-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
61 lines (57 loc) · 1.45 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
version: '3.1'
services:
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
ports:
- '23306:3306'
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=electron
- MYSQL_USER=electron_user
- MYSQL_PASSWORD=electron
mailcatcher:
image: tophfr/mailcatcher
restart: always
ports:
- '23080:80'
app:
build:
context: .
dockerfile: Dockerfile.dev
command: bundle exec rails s -b '0.0.0.0'
entrypoint: /app/docker-entrypoint.sh
environment:
- MAILER_HOST=mailcatcher
- MAILER_PORT=25
- DB_HOST=mysql
- DB_USER=root
- DB_PASSWORD=electron
- CONFIRMATION_URI=https://localhost:5000/#/portal/register/confirmation
- RESET_PASSWORD_URI=https://localhost:5000/#/portal/forgot-password/reset-form
- CHANGE_ETH_ADDRESS_CONFIRMATION_URI=https://localhost:5000/#/portal/dashboard
- PRICEFEED_URL=http://neutron_pricefeed:4001/graphql
- BLOCKCHAIN_URL=$BLOCKCHAIN_URL
volumes:
- .:/app
- bundler_gems:/usr/local/bundle/
- temp_data:/app/tmp
ports:
- '23000:3000'
links:
- mailcatcher:mailcatcher
- mysql:mysql
networks:
default:
electron:
networks:
electron:
# Required to communicate with test_pricefeed
# docker network create electron
external: true
volumes:
db:
bundler_gems:
temp_data: