add competition service to compose
This commit is contained in:
@@ -33,6 +33,46 @@ services:
|
||||
restart: unless-stopped
|
||||
shm_size: 4mb
|
||||
|
||||
competition:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile
|
||||
depends_on:
|
||||
postgres:
|
||||
restart: false
|
||||
condition: service_healthy
|
||||
required: true
|
||||
redis:
|
||||
restart: false
|
||||
condition: service_healthy
|
||||
required: true
|
||||
auth:
|
||||
restart: false
|
||||
condition: service_started
|
||||
required: true
|
||||
env_file:
|
||||
- path: ./infrastructure/competition/.env.template
|
||||
required: true
|
||||
- path: ./infrastructure/competition/.env
|
||||
required: false
|
||||
ports:
|
||||
- name: http
|
||||
target: 8082
|
||||
published: 13445
|
||||
host_ip: 127.0.0.1
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
- name: grpc
|
||||
target: 50053
|
||||
published: 13446
|
||||
host_ip: 127.0.0.1
|
||||
protocol: tcp
|
||||
app_protocol: http
|
||||
networks:
|
||||
- default
|
||||
restart: unless-stopped
|
||||
shm_size: 4mb
|
||||
|
||||
core:
|
||||
build:
|
||||
context: .
|
||||
@@ -54,6 +94,10 @@ services:
|
||||
restart: false
|
||||
condition: service_started
|
||||
required: true
|
||||
competition:
|
||||
restart: false
|
||||
condition: service_started
|
||||
required: true
|
||||
env_file:
|
||||
- path: ./infrastructure/core/.env.template
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user