🔧 Added back the API service

This commit is contained in:
2022-03-28 21:13:54 -07:00
parent 4dae8e3e3b
commit 9680fa7aae

View File

@@ -24,8 +24,8 @@ services:
ports:
- "8050:8050"
- "3050:3050"
# links:
# - importapi
links:
- importapi
depends_on:
- db
- elasticsearch
@@ -34,6 +34,24 @@ services:
networks:
- proxy
metadata-api:
build:
context: https://github.com/rishighan/threetwo-metadata-service.git
image: frishi/threetwo-metadata-service
container_name: metadata-api
ports:
- "3080:3080"
volumes:
- *comics-volume
- *userdata-volume
environment:
SERVICES: api
env_file: docker-compose.env
depends_on:
- redis
networks:
- proxy
metadata-service:
build:
context: https://github.com/rishighan/threetwo-metadata-service.git
@@ -52,6 +70,27 @@ services:
networks:
- proxy
core-api:
build:
context: https://github.com/rishighan/threetwo-core-service.git
image: frishi/threetwo-core-service
container_name: core-api
ports:
- "3000:3000"
- "3001:3001"
environment:
SERVICES: api
env_file: docker-compose.env
volumes:
- *comics-volume
- *userdata-volume
depends_on:
- redis
- db
- elasticsearch
networks:
- proxy
core-services:
build:
context: https://github.com/rishighan/threetwo-core-service.git
@@ -61,12 +100,9 @@ services:
- db
- redis
- elasticsearch
ports:
- "3000:3000"
- "3001:3001"
environment:
name: core-services
SERVICES: api,library,queue,settings,search,imagetransformation
SERVICES: library,queue,settings,search,imagetransformation
env_file: docker-compose.env
volumes:
- *comics-volume