# Copyright 2020 Changkun Ou. All rights reserved. # Use of this source code is governed by a MIT # license that can be found in the LICENSE file. version: "3" services: upbot: container_name: upbot restart: always environment: UPBOT_ADDR: upbot:80 NEWRELIC_NAME: ${NEWRELIC_NAME} NEWRELIC_LICENSE: ${NEWRELIC_LICENSE} MAILGUN_APIKEY: ${MAILGUN_APIKEY} volumes: - ./configs:/app/configs image: upbot:latest logging: driver: json-file options: max-size: "10m" max-file: "3" networks: - traefik_proxy networks: traefik_proxy: external: true