real back
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
x-go-service-env: &go-service-env
|
||||
PORT: 8080
|
||||
DATABASE_URL: postgres://${POSTGRES_USER:-fable}:${POSTGRES_PASSWORD:-fable_dev_password}@postgres:5432/${POSTGRES_DB:-fable}?sslmode=disable
|
||||
TOKEN_SECRET: ${TOKEN_SECRET:-local-dev-secret-change-me}
|
||||
TOKEN_TTL: ${TOKEN_TTL:-24h}
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
@@ -61,8 +67,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: auth
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
user-service:
|
||||
build:
|
||||
@@ -70,8 +75,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: user
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
content-service:
|
||||
build:
|
||||
@@ -79,8 +83,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: content
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
taxonomy-service:
|
||||
build:
|
||||
@@ -88,8 +91,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: taxonomy
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
speaker-service:
|
||||
build:
|
||||
@@ -97,8 +99,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: speaker
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
subscription-service:
|
||||
build:
|
||||
@@ -106,8 +107,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: subscription
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
notification-service:
|
||||
build:
|
||||
@@ -115,8 +115,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: notification
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
comment-service:
|
||||
build:
|
||||
@@ -124,8 +123,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: comment
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
search-service:
|
||||
build:
|
||||
@@ -133,8 +131,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: search
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
analytics-service:
|
||||
build:
|
||||
@@ -142,8 +139,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: analytics
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
audit-service:
|
||||
build:
|
||||
@@ -151,8 +147,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: audit
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
media-service:
|
||||
build:
|
||||
@@ -160,8 +155,7 @@ services:
|
||||
dockerfile: infra/docker/go-service.Dockerfile
|
||||
args:
|
||||
SERVICE: media
|
||||
environment:
|
||||
PORT: 8080
|
||||
environment: *go-service-env
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user