/usr/bin: $ ./firefox
application.ini firefox.sh libmozavutil.so libnssutil3.so minidump-analyzer
browser fonts libmozgtk.so libplc4.so omni.ja
crashreporter gmp-clearkey libmozsandbox.so libplds4.so platform.ini
crashreporter.ini gtk2 libmozsqlite3.so libsmime3.so plugin-container
defaults libfreeblpriv3.chk libmozwayland.so libsoftokn3.chk Throbber-small.gif
dependentlibs.list libfreeblpriv3.so libnspr4.so libsoftokn3.so
distribution liblgpllibs.so libnss3.so libssl3.so
firefox libmozavcodec.so libnssckbi.so libxul.so
/usr/lib/firefox/firefox: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter
/lib64/l, for GNU/Linux 3.2.0, BuildID[sha1]=b4eb07758d2ff23874a5a87a5d3fc252089f87e9, stripped
this.setState({lists: lists})
, что-то типа этого? Started POST "/api/v1/lists" for 172.25.0.1 at 2020-04-23 08:11:13 +0000
Processing by Api::V1::ListsController#create as HTML
Parameters: {"list"=>{"board_id"=>30, "title"=>"Sample list"}}
[1m[36mBoard Load (0.9ms)[0m [1m[34mSELECT "boards".* FROM "boards" WHERE "boards"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/api/v1/lists_controller.rb:16:in `create'
[1m[36mCACHE Board Load (0.1ms)[0m [1m[34mSELECT "boards".* FROM "boards" WHERE "boards"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
↳ app/controllers/api/v1/lists_controller.rb:18:in `create'
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
↳ app/controllers/api/v1/lists_controller.rb:18:in `create'
[1m[36mList Create (1.3ms)[0m [1m[32mINSERT INTO "lists" ("title", "board_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["title", "Sample list"], ["board_id", 30], ["created_at", "2020-04-23 08:11:13.522580"], ["updated_at", "2020-04-23 08:11:13.522580"]]
↳ app/controllers/api/v1/lists_controller.rb:18:in `create'
[1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
↳ app/controllers/api/v1/lists_controller.rb:18:in `create'
[1m[36mCard Load (1.8ms)[0m [1m[34mSELECT "cards".* FROM "cards" WHERE "cards"."list_id" = $1[0m [["list_id", 107]]
↳ app/serializers/list_serializer.rb:6:in `serializable_hash'
[ActionCable] Broadcasting to boards_channel: {:list=>{:id=>107, :title=>"Sample list", :board_id=>30, :cards=>[]}}
Completed 200 OK in 33ms (Views: 0.6ms | ActiveRecord: 6.8ms | Allocations: 4849)
BoardsChannel#receive({"id"=>107, "title"=>"Sample list", "board_id"=>30, "created_at"=>"2020-04-23T08:11:13.522Z", "updated_at"=>"2020-04-23T08:11:13.522Z"})
[ActionCable] Broadcasting to boards_channel: {"id"=>107, "title"=>"Sample list", "board_id"=>30, "created_at"=>"2020-04-23T08:11:13.522Z", "updated_at"=>"2020-04-23T08:11:13.522Z"}
Started GET "/api/v1/cards" for 172.25.0.1 at 2020-04-23 08:11:13 +0000
Processing by Api::V1::CardsController#index as HTML
[active_model_serializers] [1m[36mCard Load (0.8ms)[0m [1m[34mSELECT "cards".* FROM "cards"[0m
[active_model_serializers] ↳ app/controllers/api/v1/cards_controller.rb:6:in `index'
[active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (4.84ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.8ms | Allocations: 1113)
version: "3.7"
x-api-volumes: &api-volumes
- .:/app:cached
- ~/.ssh:/root/.ssh
- ~/.bash_history:/root/.bash_history
- bundle_cache:/bundle_cache
x-api-environment: &api-environment
- RAILS_PORT=8080
- RAILS_SECRET_KEY_BASE=secret_key_base
- DATABASE_HOST=db
- REDIS_URL=redis://redis:6379/0
- REDIS_PORT=6379
- DATABASE_USERNAME=postgres
- BUNDLE_PATH=/bundle_cache
- GEM_HOME=/bundle_cache
- GEM_PATH=/bundle_cache:/usr/local/bundle
networks:
api:
services:
api:
build:
context: .
dockerfile: Dockerfile.api
depends_on:
- db
- redis
volumes: *api-volumes
ports:
- 8080:8080
networks:
- api
environment: *api-environment
command: bash -c "bundle install && bundle exec rake db:create db:migrate && bundle exec puma -C config/puma.rb -e development"
redis:
image: redis:alpine
ports:
- 6379:6379
networks:
- api
sidekiq:
depends_on:
- 'db'
- 'redis'
build: .
networks:
- api
command: bundle exec sidekiq
volumes:
- '.:/app'
env_file:
- '.env'
db:
image: postgres:10.3-alpine
networks:
- api
bundle_cache:
networks:
- api
image: busybox
volumes:
- bundle_cache:/bundle_cache
client:
networks:
- api
build:
context: client
dockerfile: Dockerfile.client
ports:
- "3000:3000"
depends_on:
- api
environment:
- NODE_ENV=development
- API_HOST=api
- API_PORT=8080
- CI=true
- CHOKIDAR_USEPOLLING=true
command: sh -c "yarn && yarn start"
volumes:
- ./client:/app:cached
- client:/app/build
nginx:
build: ./infrastructure/nginx
volumes:
- client:/app/dist
- ./public:/app/public
- ./infrastructure/nginx/nginx.conf:/etc/nginx/nginx.conf
- ./infrastructure/nginx/conf.d:/etc/nginx/conf.d
ports:
- "80:80"
networks:
- api
links:
- api
volumes:
bundle_cache:
client:
api:
build:
context: .
dockerfile: Dockerfile.api
depends_on:
- db
- redis
volumes: *api-volumes
ports:
- 8080:8080
networks:
- api
environment: *api-environment
command: bash -c "bundle install && bundle exec rake db:create db:migrate && bundle exec puma -C config/puma.rb -e development"
redis:
image: redis:alpine
ports:
- "6379:6379"
networks:
- api
При переключении на другую карточку, тайтл остаётся тот же самый, что и в предыдущей: