Skip to content

Commit 3d0ba79

Browse files
committed
feat(compose): add prod file and update app service
Introduce `compose.prod.yaml` for production deployment, mapping standard HTTP and HTTPS ports for Traefik and using the `ghcr.io/nethesis/ctiapp:latest` image in prod. Update `compose.override.yaml` to build `app` locally via Dockerfile while removing the old image reference from `compose.yaml`.
1 parent 5c369a4 commit 3d0ba79

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

compose.override.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ services:
33
ports:
44
- "8080:80" # HTTP on higher port
55
- "8443:443" # HTTPS on higher port
6+
app:
7+
build:
8+
context: .
9+
dockerfile: Dockerfile

compose.prod.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
services:
2+
traefik:
3+
ports:
4+
- "80:80"
5+
- "443:443"
6+
app:
7+
image: ghcr.io/nethesis/ctiapp:latest

compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ services:
3737
restart: unless-stopped
3838

3939
app:
40-
image: ghcr.io/nethesis/ctiapp-authproxy:latest
4140
container_name: app
4241
networks:
4342
- app.network

0 commit comments

Comments
 (0)