21 lines
321 B
YAML
21 lines
321 B
YAML
|
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:
|