rename scheduler container to api

This commit is contained in:
deflax 2024-09-05 17:05:23 +00:00
parent dcba53a20e
commit 5822fa8235
9 changed files with 8 additions and 8 deletions

View file

@ -18,7 +18,7 @@ services:
depends_on:
- "certbot"
- "restreamer"
- "scheduler"
- "api"
restart: unless-stopped
networks:
- net
@ -55,25 +55,25 @@ services:
labels:
- meta.role=restreamer
scheduler:
api:
depends_on:
- "restreamer"
build: ./src/scheduler
image: tv-scheduler:latest
build: ./src/api
image: tv-api:latest
env_file:
- "variables.env"
volumes:
- "./config/scheduler:/config"
- "./config/api:/config"
- "./data/recorder:/recordings"
restart: unless-stopped
networks:
- net
labels:
- meta.role=scheduler
- meta.role=api
discordbot:
depends_on:
- "scheduler"
- "api"
build: ./src/discordbot
image: tv-discordbot:latest
env_file:

View file

@ -19,4 +19,4 @@ COPY . .
EXPOSE 8080
CMD [ "waitress-serve", "--port=8080", "--call", "scheduler:create_app"]
CMD [ "waitress-serve", "--port=8080", "--call", "api:create_app"]

View file

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB