version: '3'
services:
  andes:
    image: obitech/andes:latest
    expose:
      - "5000"
      - "5001"
    volumes:
      - "./system/api/data:/andes/system/api/data"
      - "./stacks:/andes/stacks"
    networks:
      andes_default:
        ipv4_address: 172.42.0.2
    restart: always
  web:
    cap_add:
      - NET_ADMIN
    image: abiosoft/caddy
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - "./system/Caddyfile:/etc/Caddyfile"
      - "./system/certs:/root/.caddy"
      - "./stacks:/andes/stacks"
      - "./system/frontend:/srv/www"
    links:
      - andes
    networks:
      andes_default:
        ipv4_address: 172.42.0.3
    restart: always
networks:
  andes_default:
    external: true

version: '3'
services:
  andes:
    image: obitech/andes:latest
    expose:
      - "5000"
      - "5001"
    volumes:
      - "./system/api/data:/andes/api/data"
      - "./stacks:/andes/stacks"
    networks:
      andes_default:
        ipv4_address: 172.42.0.2
    restart: always
  web:
    cap_add:
      - NET_ADMIN
    image: abiosoft/caddy
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - "./system/Caddyfile:/etc/Caddyfile"
      - "./system/certs:/root/.caddy"
      - "./stacks:/andes/stacks"
      - "./stacks/conf.d:/etc/caddy/sites-enabled"
      - "./system/frontend:/srv/www"
    links:
      - andes
    networks:
      andes_default:
        ipv4_address: 172.42.0.3
    restart: always
networks:
  andes_default:
    external: true

Revert "corrected stacks mount path for python service"
Revert "corrected stacks mount path for python service"

This reverts commit 3e4d13138f3f4174295a3ef5f94286590c728087.
