Skip to content
Merged

V2 #26

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions infra/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ services:
dockerfile: Dockerfile
restart: unless-stopped
env_file: .env
environment:
POSTGRES_URL: postgres://codelink:devpassword@postgres:5432/codelink
REDIS_URL: redis://redis:6379
ports:
- "8081:8081"
depends_on:
Expand All @@ -51,9 +48,6 @@ services:
dockerfile: Dockerfile
restart: unless-stopped
env_file: .env
environment:
POSTGRES_URL: postgres://codelink:devpassword@postgres:5432/codelink
REDIS_URL: redis://redis:6379
ports:
- "8082:8082"
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion services/auth/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build
FROM golang:1.22-alpine AS builder
FROM golang:alpine AS builder

WORKDIR /app

Expand Down
9 changes: 9 additions & 0 deletions services/auth/fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
app = "codelink-auth"
primary_region = "bom"

[http_service]
internal_port = 8081
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
2 changes: 1 addition & 1 deletion services/relay/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-alpine AS builder
FROM golang:alpine AS builder
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
Expand Down
9 changes: 9 additions & 0 deletions services/relay/fly.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
app = "codelink-relay"
primary_region = "bom"

[http_service]
internal_port = 8082
force_https = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
Loading