Skip to content

BBS docker-compose.yml settings #11

@huan

Description

@huan
version: '3.8'
services:

  bbs:
    image: ghcr.io/zixia/bbs.zixia.net
    container_name: bbs
    network_mode: bridge
    hostname: bbs.zixia.net
    # ⬇️  
    #   https://github.com/docker/compose/issues/4729#issuecomment-436148318
    #   https://medium.com/@junwan01/quote-your-ports-in-docker-compose-file-34d9505999ad
    ports:
      - '22:22'
      - '23:23'
      - '2222:2222'
    expose:
      - 80
    volumes:
      - /data/bbs/:/bbs
    environment:
      TZ: "Asia/Shanghai"
      VIRTUAL_HOST: 'bbs.zixia.net,*.bbs.zixia.net,wforum.zixia.net,*.wforum.zixia.net'
      LETSENCRYPT_HOST: 'bbs.zixia.net,wforum.zixia.net'
      HTTPS_METHOD: 'noredirect'

Read the original version at here

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions