検索

記事
· 2025年11月14日 3m read

[DOCKER] Framework de développement conteneurisé

Bonjour à tous,

Je m’adresse à vous, la communauté technique francophone pour vous présenter une réflexion et une proposition de réponse que j’ai apporté pour utiliser docker dans un environnement de développement avec plusieurs développeurs.

Ma réponse se compose en 2 parties, une architecture du repository GIT d’un namespace et un repository lié à DOCKER. La première partie, je pense, peut être utile au-delà d’un contexte docker.

La complexité de ce projet réside dans le fait d’avoir une solution permettant de conteneuriser un nombre “infini” de namespace et éviter d’avoir un conteneur par namespace.

Présentation du framework

Dans chacun de mes projets, je crée un dossier à la racine nommé Config. 

Dans ce dossier va se trouver toute la configuration du namespace avec les fichiers suivants 

  • Les WebApps
  • Les default Settings
  • Le deployer
  • L’installer
  • Les packages (ce fichier sert à dire au plugin docker GIT quels packages il doit exporter dans le repository. L’intérêt est de ne pas polluer le repo avec toutes les classes du namespaces, mais bien seulement celles que je crée.)

Attention, il est extrêmement important de respecter le nommage de chaque fichier avec le nom du namespace et le reste du nom du fichier. Je me sert de cette convention pour détecter automatiquement les namespaces.

Les intérêts sont les suivants

1- Dans mon dossier DOCKER, je n’ai AUCUN fichier de config (à part celui permettant l’affichage dans VSCODE)

Pour chaque namespace présent dans mon workspace respectant le framework, il sera automatiquement déployé lors des commandes docker

2- Chaque namespace peut posséder son propre GIT qui est totalement omnipotent puisqu’il possède également la configuration. Cela permet de résoudre les soucis de gestion des différentes configurations. Dans un contexte multi-développeur sur un même namespace, cela permet d’ajouter automatiquement les nouveaux default settings présent dans la version déployée par exemple.

3- Le repo GIt de chaque namespace n’est pas “pollué” avec de la config docker, il peut très bien être utilisé dans un monde non conteneurisé, toute la complexité de la conteneurisation est portée par le repo DOCKER

Je ne rentre pas pour le moment dans le détail de la solution. Elle n’est pas spécialement complexe mais elle est très fournie. Je peux vous donner les différentes choses à regarder si cela vous intéresse 

  • La classe File.CLS qui me permet de faire toutes les actions requises
  • Les deux scripts (Install et Deploy) qui orchestrent les appels à la classe File pour l’installation.
  • Le Readme qui explique techniquement comment démarrer le projet.
  • A noter que j’utilise un fork personnel du projet MW-de/git-for-iris qui ne gère la les arborescences et le contexte multi namespace (En tout cas à l’époque où j’ai mené ce projet). Toute la complexité de GIt est porté part ce projet. La façon donc les fichiers locaux sont compilés dans la BDD IRIS où comment une modification dans la BDD IRIS (Ajout d’un composant en production) est automatiquement exporté dans un fichier local pour être “commitable”.

Si ce projet vous intéresse, je pourrai aller plus dans le détail de l’explication et/ou faire une vidéo où je présente l’exhaustivité des étapes de conception.

Je vous invite à “jouer” avec mon repo Git prévu à cet effet. Dans ce contexte, j’ai tout réuni au sein d’un même repo pour simplifier le test, mais dans le monde réel, j’ai bien un répo par namespace + un DOCKER. Il n’y a plus qu’à suivre le readme 🙂

https://github.com/ArchiMatt/Framework-docker

C’est un projet que j’ai mené il y a très longtemps pour résoudre nos problématiques projets. Je n’ai plus la chance de travailler sur les technologies InterSystems régulièrement mais je tenais à vous partager ce bout de réflexion. N’hésitez pas à réagir, c’est un projet qui n’est pas terminé, il y a encore plein de choses à améliorer / nettoyer. Peut être que les dernières version d’IRIS sont venues faire évoluer cette vision 🙂


 

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2025年11月14日

How can I code "IF Studio"?

Studio's Output window is interactive, and code can ask questions there if it is a Studio environment. How do I check for that?

19 Comments
ディスカッション (19)2
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年11月14日

[Video] Foreign Tables In 2025.2

Hey Community!

We're happy to share a new video from our InterSystems Developers YouTube:

⏯  Foreign Tables In 2025.2 @ Ready 2025

<--break->

This presentation explains new foreign table enhancements in the 2025.2 release, focusing on improved query pushdown. The update lets entire queries, aggregates, grouping, and limits be processed by the external database instead of locally, greatly reducing data transfer and improving performance for cross-database queries.

🗣 Presenter: @Michael Golden, Principal Systems Developer, InterSystems

Enjoy watching, and subscribe for more videos! 👍

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
お知らせ
· 2025年11月14日

[Webinar in Dutch] Data exchange in healthcare according to the FHIR standard with Python

Hey Community,

We're happy to invite you to a LinkedIn Live session in Dutch

🎤 Data exchange in healthcare according to the FHIR standard with Python 🎤

Event details:
📅 Date: Thursday, November 27th
🕓 Time: 1:30-2:15 PM EST

Curious how to translate data to commonly used standards like FHIR? Then join this webinar, where @Wietze Drost will demonstrate what's possible. Effective data exchange has become much easier with Python, instead of an obscure programming language invented by the software vendor. In this webinar, we'll share some examples that could work for your organization.

You'll gain insight into:

  • How to translate data to FHIR and other standards using Python.
  • How Python makes working with data for standards translation easier and more accessible.
  • How a data platform can be used for data standardization without complicated technical barriers.

👨‍🏫 Speaker@Wietze Drost, Sales Engineer at InterSystems Netherlands

>> JOIN HERE <<

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2025年11月14日

Start Your Sydney Vending Machine Empire: A Beginner's Guide to Profit, Location, and Inventory

The vending machine industry in Australia generated over $2.1 billion in revenue last year, and Sydney's share of that pie continues growing. What makes this business model particularly attractive isn't the flashy technology or passive income promises you see online—it's the fundamentals. Demographics, foot traffic patterns, and consumer behaviour create opportunities that most people walk past every single day without noticing.

Starting a vending machine business in Sydney requires understanding three core elements: where to place your machines, what products actually sell, and how to structure operations for consistent profit. The barrier to entry is relatively low compared to traditional retail, but success depends on data-driven decisions rather than gut feelings. Between 2020 and 2023, Australian vending machine operators who focused on strategic placement and inventory management saw profit margins between 20-35%, whilst those who simply "set and forget" struggled to break even.

The vending machine Sydney market has matured significantly, moving beyond soft drinks and chocolate bars into healthy snacks, technology accessories, and even fresh food options. This evolution creates openings for newcomers who understand their target market and can identify underserved locations. The question isn't whether vending machines can be profitable—it's whether you're willing to do the groundwork that separates successful operators from those who give up after six months.

Understanding the Sydney Vending Landscape

Sydney's 5.3 million residents create diverse opportunities across commercial districts, educational institutions, healthcare facilities, and transportation hubs. The Central Business District alone has over 400,000 workers moving through it daily, whilst suburbs like Parramatta, North Sydney, and Macquarie Park have emerged as secondary commercial centres with their own vending demands.

What's changed dramatically since 2020 is consumer expectations. Cashless payment systems aren't optional anymore—they're essential. Data from Worldline shows that 83% of vending machine transactions in Australian metro areas now occur via card or mobile payment. If your machines only accept coins, you're eliminating the majority of potential customers before they even look at your products.

The competitive landscape varies significantly by location type. Office buildings typically have established relationships with major operators like Selecta or Eurosnack, making entry difficult without offering something genuinely differentiated. However, smaller businesses, gyms, automotive workshops, and newer commercial developments often lack proper vending services or work with operators who haven't updated their offerings in years.

Location Strategy: Where the Money Actually Lives

Finding profitable locations requires systematic research rather than opportunistic pitches. The best operators I've analysed spend 60% of their time on site selection and relationship building, and only 40% on actual machine operations. That ratio surprises most beginners who think the machines themselves are the hard part.

Start by mapping high-traffic areas within your target radius. For most new operators, staying within 30-45 minutes of your home base makes sense initially. You'll need to service machines regularly, and travel time directly impacts your hourly profit. Calculate potential locations based on these criteria:

Daily foot traffic: Minimum 100-150 people passing your machine location. Less traffic means longer time to break even on your initial investment.

Dwell time: How long do people spend in this location? A busy corridor where people walk quickly needs different products than a break room where workers spend 15-20 minutes.

Demographics: Age, income level, and lifestyle factors determine what sells. A machine in a CrossFit gym needs entirely different inventory than one in an accounting firm's office.

Competition: Existing vending services or nearby cafés and convenience stores affect your sales. Sometimes competition validates demand; other times it saturates the market.

Manufacturing facilities, warehouses, and trade businesses represent underserved opportunities in Sydney's outer suburbs. These locations often have 50-200 workers with limited food options nearby, creating captive audiences for well-stocked machines. The challenge is that approaching these businesses requires persistence—decision-makers are busy, and vending isn't their priority.

Educational institutions offer volume but come with specific challenges. Universities and TAFEs have established contracts with major operators, but private colleges, training centres, and tutoring facilities often welcome smaller operators. Schools require additional compliance around healthy food policies, which varies by state but in NSW focuses on limiting sugary drinks and high-sodium snacks.

The Financial Reality: Initial Investment and Operating Costs

Let's address the numbers directly because too many guides gloss over the actual costs involved. A new commercial-grade vending machine with cashless payment capability costs between $4,500-$8,000 depending on capacity and features. Refurbished machines run $2,500-$4,000 but may require repairs and lack modern payment systems.

Your first machine represents just the beginning of startup costs:

Initial inventory fills typically cost $200-$400 depending on machine size and product selection. Business registration, insurance, and necessary permits add another $800-$1,500. A reliable vehicle for restocking and servicing is essential—factor in either existing vehicle costs or acquisition if needed.

Most operators should budget $8,000-$12,000 for their first machine when accounting for all startup requirements. Some finance options exist through equipment suppliers, but interest rates vary significantly, and leasing arrangements often favour the lessor more than the operator.

The break-even timeline depends entirely on location quality and product selection. A well-placed machine in a high-traffic location can generate $400-$800 in monthly revenue. After accounting for inventory costs (typically 35-45% of revenue), location commissions (10-25%), and operational expenses, net profit per machine averages $150-$350 monthly in good locations.

That means breaking even on your initial investment takes 24-48 months for a single machine. The business model becomes profitable when you scale to 5-10 machines, spreading operational efficiency across multiple revenue streams. This is why successful operators focus intensely on securing multiple quality locations before expanding their machine count.

Inventory Management: What Actually Sells

Product selection makes or breaks profitability. The days of just stocking Coca-Cola, Mars Bars, and potato chips are over. Consumer preferences have shifted dramatically towards healthier options, functional beverages, and protein-rich snacks.

Data from my analysis of successful Sydney operators shows these categories performing consistently:

Protein bars and balls now outsell traditional chocolate bars in many locations, particularly gyms and office environments. Brands like Bounce, Carman's, and Macro Mike resonate with health-conscious consumers. These products also have better profit margins—purchasing wholesale through suppliers like JJ Richards or Biopak yields 50-60% margins compared to 35-40% on traditional confectionery.

Ready-to-drink coffee and energy drinks remain strong sellers, but the brands matter. V and Mother perform well in trade and warehouse environments, whilst cold brew coffee and kombucha sell better in corporate offices. Understanding your specific location's demographic determines the right mix.

Healthy snacks including nuts, dried fruit, and baked chips have grown from niche products to mainstream staples. The challenge is balancing shelf life with freshness—some healthier options expire faster than traditional snacks, requiring more frequent restocking.

Don't overlook basic necessities. Pain relievers, feminine hygiene products, phone chargers, and earbuds sell consistently in office environments and educational settings. These items carry higher margins and differentiate your machine from competitors focused solely on food and beverages.

Inventory tracking should be systematic from day one. Spreadsheets work initially, but as you scale beyond three machines, dedicated vending management software like Cantaloupe or VendSoft becomes essential. These platforms track sales by product, time of day, and location, providing data that informs purchasing decisions rather than relying on assumptions.

Regulatory Considerations and Compliance

Operating vending machines in Sydney requires navigating several regulatory requirements that vary by location type and product category. Food safety regulations under NSW Food Authority guidelines apply to any machine dispensing food or beverages. This means temperature monitoring for refrigerated machines, regular cleaning schedules, and proper food handling procedures.

Public liability insurance isn't optional—it's essential. Coverage should be minimum $10 million to protect against potential claims from product issues or machine-related injuries. Annual premiums typically run $400-$800 depending on your machine count and locations.

Business structure matters more than most realise. Operating as a sole trader simplifies setup but exposes personal assets to business liabilities. Most experienced operators recommend establishing a proprietary limited company once you exceed two machines, providing legal separation and potential tax advantages.

Local council regulations vary significantly across Sydney. Some areas require permits for machines in public spaces, whilst private property placements typically only need property owner approval. Always verify local requirements before installing equipment.

Building Relationships and Securing Locations

The single biggest challenge new operators face isn't buying machines or stocking inventory—it's convincing property managers and business owners to give them space. Your success rate on cold approaches will be low initially, perhaps 1-2% of contacts resulting in machine placements. This improves with experience and references, but expect rejection as part of the process.

Your pitch should focus on solving problems rather than selling services. Business owners care about employee satisfaction, additional amenity offerings, and sometimes supplemental revenue through commission arrangements. They don't care about your business goals or passive income dreams.

Effective approaches include:

Offering trial periods where you install a machine for 60-90 days with no commitment, allowing the location to evaluate value without risk. Providing references from existing locations builds credibility faster than any sales pitch. Being responsive and reliable with servicing creates trust—if a machine runs out of products or malfunctions, you need to address it promptly.

Commission structures typically range from 10-25% of gross sales depending on location quality and exclusivity arrangements. High-traffic locations with limited alternatives command higher commissions. Some operators prefer paying flat monthly fees instead, which provides cost certainty but may be less attractive to property owners.

Scaling Your Operation

Once you've successfully operated 2-3 machines for six months, you'll understand whether this business suits your work style and goals. Scaling to 10-15 machines represents the next phase, where operational systems become critical.

Route efficiency determines profitability at scale. Group machines geographically to minimize travel time between servicing stops. Most operators can efficiently manage 8-12 machines within a 30km radius, visiting each location weekly or bi-weekly depending on sales volume.

Hiring help becomes necessary beyond 15-20 machines. Some operators bring on partners to share workload and investment. Others hire casual workers for restocking runs, maintaining control over location relationships and financial management themselves.

Technology investment pays dividends at this stage. Telemetry systems that monitor inventory levels, sales data, and machine malfunctions remotely allow you to optimize routes and identify issues before customers report them. These systems cost $100-$200 per machine annually but save countless hours of inefficient servicing.

The Reality Check

This isn't passive income regardless of what internet gurus promise. Successful vending machine operations require consistent work, strategic thinking, and customer service. You'll deal with jammed machines, upset customers, difficult property managers, and inventory that doesn't sell as expected.

However, the business offers genuine scalability for operators who master the fundamentals. Starting small, learning systematically, and expanding deliberately creates sustainable operations that generate meaningful income. The Sydney market has room for well-run operations that focus on service quality and understanding their customers.

Your success won't come from finding a "secret" location or magic product mix. It'll come from consistent execution, data-driven decisions, and building relationships that create long-term partnerships rather than transactional arrangements. That's not exciting or glamorous, but it's what actually works in this industry.

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください