Skip to content

Commit

Permalink
chore(docker): Create non-local compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 30, 2024
1 parent 16bb62a commit 20fe714
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
13 changes: 13 additions & 0 deletions compose.nonlocal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
services:
app:
image: ghcr.io/clevyr/cloudwatch-slack-alerts:beta
build:
context: .
env_file:
- .env
ports:
- 127.0.0.1:9000:8080
develop:
watch:
- action: rebuild
path: .
12 changes: 3 additions & 9 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
services:
app:
extends:
file: compose.nonlocal.yaml
service: app
image: ghcr.io/clevyr/cloudwatch-slack-alerts:local
build:
context: .
target: local
env_file:
- .env
ports:
- 127.0.0.1:9000:8080
develop:
watch:
- action: rebuild
path: .

0 comments on commit 20fe714

Please sign in to comment.