services: # smtp: # image: mailhog/mailhog # ports: # - "1025:1025" # - "8025:8025" api: build: context: . dockerfile: Dockerfile ports: - "8989:8989" - "25:25" env_file: - ./.env # redis: # image: redis:latest # ports: # - "6379:6379" # command: redis-server --appendonly yes # volumes: # - redis-data:/data # volumes: # redis-data: