Skip to content

Commit

Permalink
better handling of extra docker-compose run files
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Aug 18, 2021
1 parent f5ed8f6 commit 0d48b5f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions pagy-on-docker/run-standalone-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Use this file in addition to the docker-compose.yml file to run
# the sinatra pagy-standalone-app.ru used for testing

# USAGE
# docker-compose -f docker-compose.yml -f run-standalone-app.yml up pagy

version: "3.8"

services:

pagy:
ports:
- "8080:8080"
# swap the comment between the next two lines if you use rerun
command: rackup -o 0.0.0.0 -p 8080 apps/pagy_standalone_app.ru
# command: rerun -- rackup -o 0.0.0.0 -p 8080 apps/pagy_standalone_app.ru
1 change: 0 additions & 1 deletion pagy-on-docker/run-test-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ services:
pagy:
ports:
- "4567:4567" # default sinatra e2e/app.rb
- "8080:8080" # should you run the rackup apps/base_app.ru
command: rerun -- rackup -o 0.0.0.0 -p 4567 test/e2e/pagy_app.ru

0 comments on commit 0d48b5f

Please sign in to comment.