DEV Community

Cover image for ๐Ÿ‹ DOMAINE.nc : the fun (docker) way... and screenshots contest ๐ŸŽจ
adriens for opt-nc

Posted on • Updated on

๐Ÿ‹ DOMAINE.nc : the fun (docker) way... and screenshots contest ๐ŸŽจ

โ” 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 ๐Ÿ‘‡

Top comments (9)

Collapse
 
adriens profile image
adriens

@dougniel , I have a screenshot idea for you...guess which one !

Collapse
 
dougniel profile image
Daniel Santos

๐Ÿ˜…
redstone

Collapse
 
adriens profile image
adriens

EH EH ovh ;-p

Collapse
 
mbarre profile image
Michรจle • Edited

๐Ÿ˜‰

Collapse
 
adriens profile image
adriens

Quoted by : DockerTrends

dormoshe.io/newsletters/ag/docker/77

Collapse
 
pluaki profile image
Pipiena LUAKI • Edited

impossible to add screenshot but can clik on link to see the result
dev-to-uploads.s3.amazonaws.com/up...

Collapse
 
hakumennc profile image
Ronny.S • Edited

:)

esport

Collapse
 
lschaeffer313 profile image
Laurent Schaeffer

Always the best ๐Ÿ˜Ž
Image description

Collapse
 
adriens profile image
adriens

You did it bro.. you dit it <3