diff --git a/stacks/apps/adminer/stack.yml b/stacks/apps/adminer/stack.yml new file mode 100644 index 0000000..e7d2bc1 --- /dev/null +++ b/stacks/apps/adminer/stack.yml @@ -0,0 +1,18 @@ +services: + adminer: + image: adminer:latest + networks: + - homelab + ports: + - 8091:8080 + environment: + - ADMINER_DEFAULT_SERVER=postgres + - ADMINER_DESIGN=nette + deploy: + replicas: 1 + placement: + constraints: + - node.hostname == p0 +networks: + homelab: + external: true