File tree Expand file tree Collapse file tree 3 files changed +20
-20
lines changed
Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
99
1010RUN apt-get update -qq && apt-get install -y yarn
1111
12- RUN mkdir /btc
13- WORKDIR /btc
14- COPY Gemfile /btc /Gemfile
15- COPY Gemfile.lock /btc /Gemfile.lock
12+ RUN mkdir /community-engine
13+ WORKDIR /community-engine
14+ COPY Gemfile /community-engine /Gemfile
15+ COPY Gemfile.lock /community-engine /Gemfile.lock
1616
1717RUN gem uninstall bundler
1818RUN gem install bundler:2.4.13
1919
20- COPY . /btc
20+ COPY . /community-engine
Original file line number Diff line number Diff line change 11version : ' 3.6'
22
33volumes :
4- btc -bundler-gems :
5- btc -db-data :
6- btc -redis :
4+ community-engine -bundler-gems :
5+ community-engine -db-data :
6+ community-engine -redis :
77
88x-env-info : &env-info
99 env_file :
1010 - ' ./docker-env.conf'
1111
1212x-app-shared : &app-shared
1313 << : *env-info
14- image : better-together/community-engine:latest
14+ image : better-together/community-engine:dev
1515 volumes :
16- - .:/btc
17- - btc -bundler-gems:/usr/local/bundle/
16+ - .:/community-engine
17+ - community-engine -bundler-gems:/usr/local/bundle/
1818 depends_on :
1919 - db
2020 # - redis
2121
2222services :
2323 app : &app
2424 << : *app-shared
25- container_name : btc -app
25+ container_name : community-engine -app
2626 build : .
2727 command : bash -c "rm -f spec/dummy/tmp/pids/server.pid && cd ./spec/dummy && bundle exec rails s -p 3000 -b '0.0.0.0'"
2828 ports :
@@ -31,21 +31,21 @@ services:
3131 tty : true
3232 # sidekiq:
3333 # <<: *app-shared
34- # container_name: btc -sidekiq
34+ # container_name: community-engine -sidekiq
3535 # command: bundle exec sidekiq -C config/sidekiq.yml
3636 # depends_on:
3737 # - app
3838 db :
39- container_name : btc -db
39+ container_name : community-engine -db
4040 << : *env-info
4141 image : postgis/postgis:latest
4242 volumes :
43- - btc -db-data:/var/lib/postgresql/data
43+ - community-engine -db-data:/var/lib/postgresql/data
4444 ports :
4545 - 5440:5432
4646 # redis:
4747 # image: 'redis:4.0-alpine'
48- # container_name: btc -redis
48+ # container_name: community-engine -redis
4949 # command: redis-server
5050 # volumes:
51- # - btc -redis:/data
51+ # - community-engine -redis:/data
Original file line number Diff line number Diff line change @@ -23,14 +23,14 @@ default: &default
2323
2424development :
2525 << : *default
26- database : btc_dummy_development
26+ database : community-engine_dummy_development
2727
2828# Warning: The database defined as "test" will be erased and
2929# re-generated from your development database when you run "rake".
3030# Do not set this db to the same as development or production.
3131test :
3232 << : *default
33- database : btc_dummy_test
33+ database : community-engine_dummy_test
3434
3535# As with config/secrets.yml, you never want to store sensitive information,
3636# like your database password, in your source code. If your source code is
5353#
5454production :
5555 << : *default
56- database : btc_dummy_production
56+ database : community-engine_dummy_production
5757 username : dummy
5858 password : <%= ENV['BETTER_TOGETHER_DATABASE_PASSWORD'] %>
You can’t perform that action at this time.
0 commit comments