mirror of
https://gitlab.com/rusty-bever/deployment.git
synced 2026-04-30 04:15:47 +02:00
feat: add affy stack
This commit is contained in:
parent
1ed24af4e0
commit
3ceb9edb46
1 changed files with 20 additions and 0 deletions
20
stacks/affy.yml
Normal file
20
stacks/affy.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
version: '3.4'
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: 'git.rustybever.be/chewing_bever/affy:latest'
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
mode: 'replicated'
|
||||||
|
replicas: 1
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- 'node.labels.class.affy==true'
|
||||||
|
|
||||||
|
environment:
|
||||||
|
- 'DISCORD_TOKEN'
|
||||||
|
volumes:
|
||||||
|
- 'data:/data'
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
Loading…
Add table
Add a link
Reference in a new issue