๐Ÿ‹ 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 ๐Ÿ‘‡

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