Compare commits

...

3 Commits

Author SHA1 Message Date
07cfb3e148 build 2026-03-12 21:49:24 +01:00
a59f01ff72 build 2026-03-12 21:44:39 +01:00
9623b115cd build 2026-03-12 21:37:25 +01:00
3 changed files with 24 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/

View File

@@ -0,0 +1,22 @@
services:
app:
image: ${DOCKER_REGISTRY:-}api-server:latest
secrets:
- vault_token
environment:
VAULT_TOKEN: /run/secrets/vault_token
ports:
- target: 8000
published: 8002
protocol: tcp
mode: ingress
deploy:
replicas: 1
placement:
constraints:
- node.role == manager
secrets:
vault_token:
external: true

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