Skip to content

Instantly share code, notes, and snippets.

@coreysan
Created July 4, 2018 18:14
Show Gist options
  • Save coreysan/6b70b0fcd454a561f985fe6762362099 to your computer and use it in GitHub Desktop.
Save coreysan/6b70b0fcd454a561f985fe6762362099 to your computer and use it in GitHub Desktop.
Caddy docker-compose
# @Author: Corey Sanford <corey@hackcapital.com>
# @Date: Tuesday, 12th June 2018 5:25:12 pm
# @Email: corey@hackcapital.com
# @Last modified by: coreysan
# @Last modified time: 21st June 2018 5:25:12 pm
version: "3"
networks:
liondesk-network:
services:
caddy:
restart: always
image: [gitlab url]/hackcapital/liondesk/caddy:1.0.2
container_name: caddy
ports:
- 80:80
- 443:443
- 90:90
- 5000:5000
environment:
- KIBANA_SERVER_IP=${KIBANA_SERVER_IP}
- KIBANA_USER=${KIBANA_USER}
- KIBANA_PASSWORD=${KIBANA_PASSWORD}
- LOGSTASH_SERVER_IP=${LOGSTASH_SERVER_IP}
networks:
- liondesk-network
volumes:
- /srv/caddy/logs:/var/log/caddy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment