mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-23 16:36:00 +00:00
Refactor swarm/apps.yml to add cheatsheets_app service
This commit is contained in:
@@ -45,6 +45,22 @@ services:
|
|||||||
- traefik.http.routers.adminer.service=adminer_app
|
- traefik.http.routers.adminer.service=adminer_app
|
||||||
- traefik.http.services.adminer_app.loadbalancer.server.port=8080
|
- traefik.http.services.adminer_app.loadbalancer.server.port=8080
|
||||||
|
|
||||||
|
cheatsheets_app:
|
||||||
|
image: furyhawk/cheatsheets:${CHEATSHEETSTAG:-latest}
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- traefik-public
|
||||||
|
deploy:
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- traefik.docker.network=traefik-public
|
||||||
|
- traefik.constraint-label=traefik-public
|
||||||
|
- traefik.http.routers.cheatsheets.entrypoints=https
|
||||||
|
- traefik.http.routers.cheatsheets.rule=Host(`cheat.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.cheatsheets.tls.certresolver=le
|
||||||
|
- traefik.http.routers.cheatsheets.service=cheatsheets_app
|
||||||
|
- traefik.http.services.cheatsheets_app.loadbalancer.server.port=80
|
||||||
|
|
||||||
heynote_app:
|
heynote_app:
|
||||||
image: furyhawk/heynote:${HEYNOTETAG:-latest}
|
image: furyhawk/heynote:${HEYNOTETAG:-latest}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -64,6 +80,31 @@ services:
|
|||||||
- "traefik.http.routers.heynote.service=heynote_app"
|
- "traefik.http.routers.heynote.service=heynote_app"
|
||||||
- "traefik.http.services.heynote_app.loadbalancer.server.port=5173"
|
- "traefik.http.services.heynote_app.loadbalancer.server.port=5173"
|
||||||
|
|
||||||
|
privatebin:
|
||||||
|
image: privatebin/nginx-fpm-alpine:latest
|
||||||
|
read_only: true
|
||||||
|
user: "1000:1000"
|
||||||
|
volumes:
|
||||||
|
- privatebin_data:/srv/data # data volume for pastes allows pastes
|
||||||
|
# to persist after container stop or restart
|
||||||
|
- "~/config/conf.php:/srv/cfg/conf.php:ro" # second volume for custom configuration file
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- traefik-public
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.labels.privatebin.privatebin_data == true
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=traefik-public
|
||||||
|
- traefik.constraint-label=traefik-public
|
||||||
|
- traefik.http.routers.privatebin.entrypoints=https
|
||||||
|
- traefik.http.routers.privatebin.rule=Host(`bin.${DOMAIN}`) || Host(`paste.${DOMAIN}`)
|
||||||
|
- traefik.http.routers.privatebin.tls.certresolver=le
|
||||||
|
- traefik.http.routers.privatebin.service=privatebin_app
|
||||||
|
- traefik.http.services.privatebin_app.loadbalancer.server.port=8080
|
||||||
|
|
||||||
streamlit-bai:
|
streamlit-bai:
|
||||||
environment:
|
environment:
|
||||||
<<: *app-environment
|
<<: *app-environment
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
api_server:
|
api_server:
|
||||||
image: furyhawk/listen:latest
|
image: furyhawk/listen:latest
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user