Skip to content

Commit

Permalink
Revert "✨ Added caddy"
Browse files Browse the repository at this point in the history
This reverts commit 0899ac6.
  • Loading branch information
TechSupportz committed Nov 25, 2023
1 parent 0899ac6 commit 4dacdf0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
touch .env
echo LTA_API_KEY=${{ secrets.LTA_API_KEY }} >> .env
echo SECRET=${{ secrets.JSON_SECRET }} >> .env
echo PORT=4000 >> .env
echo PORT=80 >> .env
- name: Build and push image to Artifact Registry
run: |
Expand Down
7 changes: 0 additions & 7 deletions Caddyfile

This file was deleted.

18 changes: 4 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
version: "3.9"
services:
transito-server:
transito-flutter:
build: .
working_dir: /app
container_name: transito-server
image: us-west1-docker.pkg.dev/transito-8f50c/transito-server/transito-server:latest
restart: unless-stopped
ports:
- "4000:4000"
- "80:8080"
- "443:8080"
- "8080:8080"
env_file:
- .env

caddy:
image: caddy:2.7.5-alpine
container_name: caddy
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- /app # Adjust the path to your static site or app
depends_on:
- transito-server

0 comments on commit 4dacdf0

Please sign in to comment.