From db3b6beaa30787ca96324d42120cc93db7e0ef06 Mon Sep 17 00:00:00 2001 From: Slawomir Koszewski Date: Sun, 18 Jan 2026 16:01:18 +0100 Subject: [PATCH] Modernize Docker Compose configuration - Replace docker-compose.yml with compose.yaml (modern standard) - Remove obsolete 'version' field (deprecated in Docker Compose) - Remove development service configuration - Add proper image tagging with skoszewski/jmespath-playground - Keep build context for local development flexibility - Simplify to production-only service configuration --- compose.yaml | 9 +++++++++ docker-compose.yml | 25 ------------------------- 2 files changed, 9 insertions(+), 25 deletions(-) create mode 100644 compose.yaml delete mode 100644 docker-compose.yml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..f28e9d7 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,9 @@ +services: + jmespath-playground: + build: . + image: skoszewski/jmespath-playground + ports: + - "3000:3000" + environment: + - NODE_ENV=production + restart: unless-stopped \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index ca717b6..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,25 +0,0 @@ -version: '3.8' - -services: - jmespath-playground: - build: . - ports: - - "3000:3000" - environment: - - NODE_ENV=production - restart: unless-stopped - - # Development service - jmespath-playground-dev: - build: - context: . - dockerfile: Dockerfile.dev - ports: - - "3001:3000" - volumes: - - .:/app - - /app/node_modules - environment: - - CHOKIDAR_USEPOLLING=true - profiles: - - dev \ No newline at end of file