rename scheduler container to api
This commit is contained in:
parent
dcba53a20e
commit
5822fa8235
9 changed files with 8 additions and 8 deletions
|
@ -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:
|
||||
|
|
|
@ -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"]
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
Loading…
Reference in a new issue