-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better handling of extra docker-compose run files
- Loading branch information
Showing
2 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters