Add api service for scipio

This commit is contained in:
Ethan Paul 2021-02-27 17:18:53 -05:00
parent 96ed5e47be
commit b02e6a2791
No known key found for this signature in database
GPG Key ID: C5F5542B54A4D9C6

View File

@ -65,6 +65,21 @@ services:
deploy: deploy:
replicas: 1 replicas: 1
api:
image: scipio:{{ omni_compose_apps.scipio.versions.api | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-api
depends_on:
- database
- cache
networks:
- scipio
environment:
<<: *globalenv
SCIPIO_LOG_SOURCE: api
command: --api
deploy:
replicas: 1
phantom: phantom:
image: scipio:{{ omni_compose_apps.scipio.versions.phantom | default(omni_compose_apps.scipio.versions.default) }} image: scipio:{{ omni_compose_apps.scipio.versions.phantom | default(omni_compose_apps.scipio.versions.default) }}
hostname: scipio-phantom hostname: scipio-phantom