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