Skip to content

Instantly share code, notes, and snippets.

@dora1998
Last active December 20, 2019 15:59
Show Gist options
  • Save dora1998/8f882ac16f74466c6c53e9332cdc433e to your computer and use it in GitHub Desktop.
Save dora1998/8f882ac16f74466c6c53e9332cdc433e to your computer and use it in GitHub Desktop.
version: '3'
services:
# HTTPS Reverse Proxy
https-portal:
image: steveltn/https-portal:1
container_name: minoru-dev-https-portal
ports:
- '80:80'
- '443:443'
networks:
- nginx
restart: always
environment:
STAGE: 'production'
DOMAINS: >-
snail-bot.dora1998.net -> http://snail-bot:8080
volumes:
- ssl-certs:/var/lib/https-portal
networks:
nginx:
external: true
volumes:
# SSL証明書
ssl-certs:
version: "3"
services:
snail-bot:
command: /snail-bot serve
build:
context: ./
networks:
- nginx
env_file:
- .env
networks:
nginx:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment