Skip to content

Commit

Permalink
Feat: split local into an independent build overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
almereyda committed May 9, 2024
1 parent 5c53801 commit 1f2ac77
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions compose.build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
app: &build-default
build: ./context/default
worker: *build-default
cron: *build-default
migrations: *build-default
9 changes: 4 additions & 5 deletions compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ services:
web:
ports:
- 8080:80
app: &local-default
build: ./context/default
# app: &local-default
# volumes:
# - ./context/default/entrypoint.sh:/pretalx/entrypoint.sh:z
# - ./config/pretalx.cfg:/pretalx/.pretalx.cfg:z
worker: *local-default
cron: *local-default
migrations: *local-default
# worker: *local-default
# cron: *local-default
# migrations: *local-default

0 comments on commit 1f2ac77

Please sign in to comment.