m2-bot-authenticator manifests added
This commit is contained in:
parent
b5abe37756
commit
1874d9f9e9
1
m2-authenticator/README.md
Normal file
1
m2-authenticator/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
docker stack deploy -c authenticator.yml --with-registry-auth authenticator
|
||||
72
m2-authenticator/authenticator.yml
Normal file
72
m2-authenticator/authenticator.yml
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
authenticator-api:
|
||||
image: ghcr.io/emrekirman/authenticator-api:latest
|
||||
environment:
|
||||
- JWT_SECRET=MLCjmoj+Zubr8bZGzuNLFUac9YT/GpkGe09d83KlaydIdVaS6pKY5WyHfoLEhi6r
|
||||
- DB_HOST=corum-fk-postgres
|
||||
- DB_PORT=5432
|
||||
- DB_DATABASE=authenticatordb
|
||||
- DB_USERNAME=strapi
|
||||
- DB_PASSWORD=98836
|
||||
networks:
|
||||
- traefik-public
|
||||
- corum-fk_corum-fk-network
|
||||
deploy:
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 1G
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.authenticatorapi.rule=Host(`api.saltatrix.shop`)
|
||||
- traefik.http.routers.authenticatorapi.entrypoints=websecure
|
||||
- traefik.http.routers.authenticatorapi.tls.certresolver=myresolver
|
||||
- traefik.http.services.authenticatorapi.loadbalancer.server.port=3000
|
||||
- traefik.http.routers.authenticatorapi.service=authenticatorapi
|
||||
authenticator-ui:
|
||||
image: ghcr.io/emrekirman/authenticator-ui:latest
|
||||
environment:
|
||||
- API_TARGET=https://api.saltatrix.shop
|
||||
deploy:
|
||||
replicas: 1
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 10s
|
||||
order: start-first
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.saltatrixui.rule=Host(`saltatrix.shop`)
|
||||
- traefik.http.routers.saltatrixui.entrypoints=websecure
|
||||
- traefik.http.routers.saltatrixui.tls.certresolver=myresolver
|
||||
- traefik.http.services.saltatrixui.loadbalancer.server.port=80
|
||||
- traefik.http.routers.saltatrixui.service=saltatrixui
|
||||
networks:
|
||||
- traefik-public
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
corum-fk_corum-fk-network:
|
||||
external: true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user