# SIPサーバFlexisipのTLS接続（Docker+Nginx+Let's Encrypt）

**URL:** https://forum.ficusonline.com/t/topic/317
**Category:** Linux
**Created:** [2019 年 9 月 5 日午前 8:31 UTC](https://forum.ficusonline.com/t/topic/317 "2019-09-05T08:31:45Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![tk-fuse](https://forum.ficusonline.com/user_avatar/forum.ficusonline.com/tk-fuse/32/255_2.png) [@tk-fuse](https://forum.ficusonline.com/u/tk-fuse)
#### Post date: [2019 年 11 月 22 日午前 3:01 UTC](https://forum.ficusonline.com/t/topic/317/3 "2019-11-22T03:01:28Z")

</div>

### コンテナへの特権付与:cap\_add, privileged

```auto
version: '3'

services:
  flexisip-mariadb:
    container_name: flexisip-mariadb
    image: mariadb
    restart: always
...
...

  ubuntu-flexisip:
    container_name: ubuntu-flexisip

## コンテナにネットワークに関わる特権を付与
    cap_add:
      - NET_ADMIN
    privileged: true
...

```

> **[Compose file reference](https://docs.docker.com/reference/compose-file/)**
>
> Find the latest recommended version of the Docker Compose file format for defining multi-container applications.

> **[capabilities(7) - Linux manual page](https://man7.org/linux/man-pages/man7/capabilities.7.html)**

```auto
CAP_NET_ADMIN
              Perform various network-related operations:
              * interface configuration;
              * administration of IP firewall, masquerading, and accounting;
              * modify routing tables;
              * bind to any address for transparent proxying;
              * set type-of-service (TOS)
              * clear driver statistics;
              * set promiscuous mode;
              * enabling multicasting;
              * use setsockopt(2) to set the following socket options:
                SO_DEBUG, SO_MARK, SO_PRIORITY (for a priority outside the
                range 0 to 6), SO_RCVBUFFORCE, and SO_SNDBUFFORCE.

```

---

_[View the full topic](https://forum.ficusonline.com/t/topic/317)._
