add auth
This commit is contained in:
@@ -1,6 +1,38 @@
|
||||
name: order
|
||||
|
||||
services:
|
||||
auth:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile.auth
|
||||
depends_on:
|
||||
postgres:
|
||||
restart: false
|
||||
condition: service_healthy
|
||||
required: true
|
||||
env_file:
|
||||
- path: ./infrastructure/auth/.env.template
|
||||
required: true
|
||||
- path: ./infrastructure/auth/.env
|
||||
required: false
|
||||
ports:
|
||||
- name: http
|
||||
target: 8081
|
||||
published: 13443
|
||||
host_ip: 127.0.0.1
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
- name: grpc
|
||||
target: 50052
|
||||
published: 13444
|
||||
host_ip: 127.0.0.1
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
networks:
|
||||
- default
|
||||
restart: unless-stopped
|
||||
shm_size: 4mb
|
||||
|
||||
core:
|
||||
build:
|
||||
context: .
|
||||
@@ -18,6 +50,10 @@ services:
|
||||
restart: false
|
||||
condition: service_healthy
|
||||
required: true
|
||||
auth:
|
||||
restart: false
|
||||
condition: service_started
|
||||
required: true
|
||||
env_file:
|
||||
- path: ./infrastructure/core/.env.template
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user