πŸ‹ DOMAINE.nc : the fun (docker) way... and screenshots contest 🎨

adriens - Apr 12 '22 - - Dev Community

❔ Intro

A few months ago, during COVID lockdown in New-Caledonia, we decided to build cohesion around a simple yet very efficient innovation project across two teams, challenging us about what we could achieve together within less than 3 days.

Our main concern was to show what can be achieved when we have public APIs... and what we could do with Open Innovation.

πŸ‹ Do it the Docker way

The we built and released this project relying on dedicated and public

πŸ’‘ Our goals

  • πŸ§ͺ Create a whole new UX on an existing web app
  • πŸ§‘β€πŸ€β€πŸ§‘ Collaborate accross two teams and experiment Github issues
  • πŸ˜› Have fun
  • πŸ§‘β€πŸŽ“ Get knowledge on Github Actions and pure front image building
  • 😎 Make something cool together we can enjoy and play with

Then we did thisπŸ‘‡

πŸ•ΉοΈ Run the demo

cat << EOF > docker-compose.yml
version: "3.7"
services:
  api:
    image: docker.io/optnc/domaine-nc-api:latest
    ports:
      - "8080:8080"
  front:
    links:
      - api
    image: docker.io/optnc/domaine-nc-front:stable
    environment:
      - DNS_BACKEND=api:8080
    ports:
      - "80:80"
EOF

# Run docker-compose
docker-compose up -d
Enter fullscreen mode Exit fullscreen mode

Now you're ready to give it a try :

# Give it a try 🀩
firefox http://localhost/opt.nc
firefox http://localhost
Enter fullscreen mode Exit fullscreen mode

πŸ™πŸ» Acknowledgements

This post is dedicated to Laurent Schaeffer (aka. lschaeffer313) and Michèle Barré (aka. @mbarre) who where the core developers.

Also I want to thank Sabrina who did trust us and accepted to invest 3 days of dev of Laurent.

We really enjoyed a lot developing together and role playing.

Now, I'm happy to welcome Daniel Santos (aka. @Dougniel) on the team as front-end and DEVOPS, and of course Michèle as back-end active maintainer.

πŸ“· Drop your screenshots 🎁

If you enjoyed this approach, drop a screenshot of your favorite .nc domain in New-Caledonia in the discussion πŸ‘‡

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .