This commit is contained in:
2026-03-12 21:37:25 +01:00
parent 1b3977f65d
commit 9623b115cd
3 changed files with 21 additions and 0 deletions

2
__swarm/api_server/.env Executable file
View File

@@ -0,0 +1,2 @@
APPNAME=wordpress
DOCKER_REGISTRY=r.sectorq.eu/library/

0
__swarm/api_server/stack.env Executable file
View File

View File

@@ -0,0 +1,19 @@
services:
app:
image: ${DOCKER_REGISTRY:-}api-server:latest
secrets:
- vault_passwod
environment:
VAULT_PASSWOD: /run/secrets/vault_passwod
expose:
- 8002
deploy:
replicas: 1
placement:
constraints:
- node.role == manager
secrets:
vault_passwod:
external: true