services:

  artemis:
    image: mirror.gcr.io/apache/activemq-artemis:2.39.0
    ports:
      - "8161:8161"
      - "61616:61616"
      - "5672:5672"
    environment:
      ARTEMIS_USER: artemis
      ARTEMIS_PASSWORD: artemis
      ANONYMOUS_LOGIN: false

  ftp-server:
    environment:
      - FTP_PASS=mypassword
      - FTP_USER=myuser
    image: mirror.gcr.io/garethflowers/ftp-server
    ports:
      - '20-21:20-21/tcp'
      - '40000-40009:40000-40009/tcp' # Only needed for passive mode
#    volumes:
#      - '/data:/home/user'
