小研发企业内部办公系统Docker Configuration
2021-04-21 13:15:12 0 举报
小研发企业内部办公系统Docker Configuration
作者其他创作
大纲/内容
BaseServices
VPN-PPTP:services: pptpd: image: mobtitude/vpn-pptp ports: - 1723:1723 volumes: - ./chap-secrets:/etc/ppp/chap-secrets:ro container_name: pptpd privileged: true network_mode: \"host\" restart: always
Samba
源码系统
Docker
小研发企业内部办公系统搭建- 参考Docker Compose 服务配置
源码管理系统:services: git: image: gitlab-ce:13.4.3-ce.0 restart: always expose: - 8181 ports: - 22:65001 volumes: - ./logs:/var/log/gitlab - ./data:/var/opt/gitlab - ./backups:/mnt networks: appNet: ipv4_address: 172.19.1.50 environment: GITLAB_OMNIBUS_CONFIG: | external_url 'http://192.168.x.x:2020' gitlab_rails['gitlab_shell_ssh_port'] = 22 gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = 'mail' gitlab_rails['smtp_port'] = 25 gitlab_rails['smtp_domain'] = 'mail' gitlab_rails['smtp_tls'] = false gitlab_rails['smtp_openssl_verify_mode'] = 'none' gitlab_rails['smtp_enable_starttls_auto'] = false gitlab_rails['smtp_ssl'] = false gitlab_rails['smtp_force_ssl'] = false gitlab_rails['smtp_user_name'] = \"admin\" gitlab_rails['smtp_password'] = \"admin1234\" gitlab_rails['smtp_authentication'] = \"login\" gitlab_rails['manage_backup_path'] = true gitlab_rails['backup_path'] = \"/mnt\" gitlab_rails['trusted_proxies'] = [\"172.19.1.100\"] gitlab_workhorse['listen_network'] = \"tcp\" gitlab_workhorse['listen_addr'] = \"172.19.1.50:8181\" web_server['external_users'] = ['www-data'] nginx['enable'] = false gitlab_rails['backup_keep_time'] = 604800 pages_external_url \"http://192.168.x.x:2020/\" gitlab_pages['enable'] = truenetworks: appNet: external: name: base_appNet
企业网盘:services: fsys: image: pydio/cells:2.1.11 expose: - '8080' environment: - CELLS_NO_TLS=1 - CELLS_WORKING_DIR=/var/cells - CELLS_DATA_DIR=/var/cells/data - CELLS_LOG_LEVEL=debug - TZ=Asia/Shanghai - CELLS_BIND=fsys:8080 - CELLS_EXTERNAL=https://192.168.x.x:8080 volumes: - ./config:/var/cells - ./data:/var/cells/data container_name: fsys networks: appNet: ipv4_address: 172.19.1.60networks: appNet: external: name: base_appNet
企业网盘
PPTP(VPN)
基础设施:services: mysql: image: mysql:5.7 command: --default-authentication-plugin=mysql_native_password expose: - 3306 volumes: - ./mysql/data:/var/lib/mysql - ./mysql/mnt:/mnt:ro - ./mysql/backups:/srv restart: always environment: MYSQL_ROOT_PASSWORD: admin1234 container_name: db networks: - appNet postfix: image: catatnight/postfix expose: - 25 environment: - maildomain=xxx.com - smtp_user=admin:admin1234 container_name: mail networks: - appNet redis: image: redis:4 expose: - 6379 command: redis-server container_name: redis networks: - appNetnetworks: appNet: driver: bridge ipam: driver: default config: - subnet: 172.19.1.0/24 gateway: 172.19.1.1
收藏
0 条评论
下一页