mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-03-14 22:30:01 +01:00
build
This commit is contained in:
2
__swarm/api_server/.env
Executable file
2
__swarm/api_server/.env
Executable file
@@ -0,0 +1,2 @@
|
||||
APPNAME=wordpress
|
||||
DOCKER_REGISTRY=r.sectorq.eu/library/
|
||||
0
__swarm/api_server/stack.env
Executable file
0
__swarm/api_server/stack.env
Executable file
19
__swarm/api_server/wordpress-swarm.yml
Normal file
19
__swarm/api_server/wordpress-swarm.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user