version: '3'
services:
  json-server:
    build: ./json-server
    command: json-server --watch db.json --host 0.0.0.0 --routes routes.json
  sshd:
    image: yasuyuky/ubuntu-ssh:latest
    restart: always
  ansible:
    build: ./ansible
    working_dir: /work
    command: sh -c 'while true; do sleep 1; done'

version: '3'
services:
  json-server:
    build: ./json-server
    command: json-server --watch db.json --host 0.0.0.0 --routes routes.json
  sshd:
    image: yasuyuky/ubuntu-ssh:latest
    restart: always
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
  ansible:
    build: ./ansible
    working_dir: /work
    command: sh -c 'while true; do sleep 1; done'

Modify config to use systemd based image
Modify config to use systemd based image
