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:
|
depends_on:
|
||||||
- "certbot"
|
- "certbot"
|
||||||
- "restreamer"
|
- "restreamer"
|
||||||
- "scheduler"
|
- "api"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
|
@ -55,25 +55,25 @@ services:
|
||||||
labels:
|
labels:
|
||||||
- meta.role=restreamer
|
- meta.role=restreamer
|
||||||
|
|
||||||
scheduler:
|
api:
|
||||||
depends_on:
|
depends_on:
|
||||||
- "restreamer"
|
- "restreamer"
|
||||||
build: ./src/scheduler
|
build: ./src/api
|
||||||
image: tv-scheduler:latest
|
image: tv-api:latest
|
||||||
env_file:
|
env_file:
|
||||||
- "variables.env"
|
- "variables.env"
|
||||||
volumes:
|
volumes:
|
||||||
- "./config/scheduler:/config"
|
- "./config/api:/config"
|
||||||
- "./data/recorder:/recordings"
|
- "./data/recorder:/recordings"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- net
|
- net
|
||||||
labels:
|
labels:
|
||||||
- meta.role=scheduler
|
- meta.role=api
|
||||||
|
|
||||||
discordbot:
|
discordbot:
|
||||||
depends_on:
|
depends_on:
|
||||||
- "scheduler"
|
- "api"
|
||||||
build: ./src/discordbot
|
build: ./src/discordbot
|
||||||
image: tv-discordbot:latest
|
image: tv-discordbot:latest
|
||||||
env_file:
|
env_file:
|
||||||
|
|
|
@ -19,4 +19,4 @@ COPY . .
|
||||||
|
|
||||||
EXPOSE 8080
|
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