mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-03-14 22:30:01 +01:00
Compare commits
3 Commits
1b3977f65d
...
07cfb3e148
| Author | SHA1 | Date | |
|---|---|---|---|
| 07cfb3e148 | |||
| a59f01ff72 | |||
| 9623b115cd |
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/
|
||||||
22
__swarm/api_server/api_server-swarm.yml
Normal file
22
__swarm/api_server/api_server-swarm.yml
Normal 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
0
__swarm/api_server/stack.env
Executable file
Reference in New Issue
Block a user