# #version: "3.5" services: apache2: image: ${BILLING_APACHE2_IMAGE_NAME} hostname: billing-apache2 container_name: billing-apache2 restart: on-failure networks: billingnet: ipv4_address: 10.77.93.10 volumes: - /opt/neutopia/git/whmcsphp/src:/opt/neutopia/whmcs - ssl-certs:/opt/neutopia/mnt/ssl-certs billing-phpfpm: image: ${BILLING_PHPFPM_IMAGE_NAME} hostname: billing-phpfpm container_name: billing-phpfpm # Run PHP-FPM and tell it to use the dev config. #command: "php-fpm -e --nodaemonize --fpm-config /usr/local/etc/php-fpm.dev.conf" #working_dir: "/opt/omilia" #environment: # - COOKIE_DOMAIN=omilia.io networks: billingnet: ipv4_address: 10.77.93.11 ipv6_address: 10:77:93::11 volumes: - /opt/neutopia/git/whmcsphp/src:/opt/neutopia/whmcs - ssl-certs:/opt/neutopia/mnt/ssl-certs # These NFS shares require an existing Wireguard VPN to be set up and running on your computer or # on your network. volumes: ssl-certs: driver_opts: type: nfs o: "addr=${ACCOUNT_NFS_SERVER},nfsvers=4.2,rw,hard,timeo=600" device: ":/opt/neutopia/mnt/ssl-certs" # Create a network called "billingnet" networks: billingnet: driver: bridge name: "billingnet" enable_ipv6: true ipam: config: - subnet: 10.77.93.0/24 - subnet: 10:77:93::/64