Permalink
Browse files

stack.yml

  • Loading branch information...
patrickleet committed May 1, 2018
1 parent a46a1d7 commit 83cf0bc4ab238d1561415c1792db0534bbc6cde2
Showing with 24 additions and 11 deletions.
  1. +1 −1 Dockerfile
  2. +0 −10 docker-compose.prod.yml
  3. +23 −0 stack.yml
@@ -33,6 +33,6 @@ COPY --from=build /src/.next .next
HEALTHCHECK --interval=5s \
--timeout=5s \
--retries=6 \
CMD curl -fs http://localhost:$PORT/_health || exit 1
CMD curl -fs http://localhost:$PORT/ || exit 1

CMD ["npm", "run", "start"]

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,23 @@
version: '3.4'

networks:
proxy:
external: true

services:

split-test:
image: patrickleet/split-test:${VERSION}
environment:
NODE_ENV: production
networks:
- proxy
deploy:
placement:
constraints:
- node.role == worker
labels:
- com.df.notify=true
- com.df.servicePath=/
- com.df.port=3000

0 comments on commit 83cf0bc

Please sign in to comment.