Skip to content

Instantly share code, notes, and snippets.

@vkrivtsov
Last active July 15, 2018 17:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vkrivtsov/2603456a142f443bf8106e4a18d7caf8 to your computer and use it in GitHub Desktop.
Portainer Template
version: '3'
networks:
global:
external: true
services:
drakemall_frontend:
image: skinholdings/drakemall-frontend-draft:latest
deploy:
labels:
- traefik.port=3031
- traefik.docker.network=global
- traefik.frontend.rule=Host:feature-drake-1080.drakemall.xyz
- traefik.backend.loadbalancer.stickiness=true
resources:
limits:
memory: 256M
reservations:
memory: 64M
environment:
PRERENDER_ENABLE: "no"
BASE_URL: http://35.198.77.239
networks:
- global
[{
"type": "stack",
"title": "Drakemall Frontend",
"description": "An awesome web application",
"note": "",
"platform": "linux",
"logo": "https://drakemall.com/assets/images/drakemall-logo.svg",
"repository": {
"url": "https://gist.github.com/2603456a142f443bf8106e4a18d7caf8",
"stackfile": "docker-stack.yml"
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment