mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
3102babec8
Follows up from #2096, #2097
22 lines
353 B
YAML
22 lines
353 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
ergo:
|
|
init: true
|
|
image: ghcr.io/ergochat/ergo:stable
|
|
ports:
|
|
- "6667:6667/tcp"
|
|
- "6697:6697/tcp"
|
|
volumes:
|
|
- data:/ircd
|
|
deploy:
|
|
placement:
|
|
constraints:
|
|
- "node.role == manager"
|
|
restart_policy:
|
|
condition: on-failure
|
|
replicas: 1
|
|
|
|
volumes:
|
|
data:
|