-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (49 loc) · 1.25 KB
/
docker-compose.yml
File metadata and controls
51 lines (49 loc) · 1.25 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
services:
api:
container_name: events_api
environment:
- RAILS_ENV=development
- LOG_LEVEL=debug
- MYSQL_USER=root
- MYSQL_PASSWORD=
- MYSQL_DATABASE=datacite
- MYSQL_HOST=lupo_mysql
- MYSQL_PORT=3306
- MYSQL_ALLOW_EMPTY_PASSWORD=true
- ES_HOST=lupo_opensearch
- ES_PORT=9200
- ES_SCHEME=http
- ELASTIC_PASSWORD=AnUnsecurePassword123
- AWS_ENDPOINT=http://localstack:4566
- AWS_REGION=us-east-1
- AWS_ACCESS_KEY_ID=test
- AWS_SECRET_ACCESS_KEY=test
- DISABLE_QUEUE_WORKER=false
build:
context: ./
dockerfile: Dockerfile
ports:
- "8700:80"
volumes:
- ./app:/home/app/webapp/app
- ./config:/home/app/webapp/config
- ./db:/home/app/webapp/db
- ./lib:/home/app/webapp/lib
- ./spec:/home/app/webapp/spec
- ./storage:/home/app/webapp/storage
- ./tmp:/home/app/webapp/tmp
- bundle_cache:/home/app/webapp/vendor/bundle
- ./Gemfile:/home/app/webapp/Gemfile
- ./Gemfile.lock:/home/app/webapp/Gemfile.lock
networks:
- localstack_network
dns:
- 10.0.2.20
volumes:
bundle_cache:
gemfile:
data:
driver: local
networks:
localstack_network:
external: true