FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. skocur10
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    skocur10

    @skocur10

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    skocur10 Unfollow Follow

    Latest posts made by skocur10

    • How to set SMTP server configuration from docker-compose

      Hello,

      Is it possible to set up a configuration for SMTP server via docker-compose? For example we can do such thing (code below) for connection to database, but I cannot find solution for mailing server.

      version: "3.3"
      
      services:
        auth-db:
          image: postgres:11.9-alpine
          environment:
            PGDATA: /var/lib/postgresql/data/pgdata
            POSTGRES_USER: ${POSTGRES_USER}
            POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
          networks:
            - auth-db
          restart: unless-stopped
          volumes:
            - db_data:/var/lib/postgresql/data
      
        fusionauth:
          image: fusionauth/fusionauth-app:latest
          depends_on:
            - auth-db
          environment:
            DATABASE_URL: jdbc:postgresql://auth-db:5432/fusionauth
            DATABASE_ROOT_USERNAME: ${POSTGRES_USER}
            DATABASE_ROOT_PASSWORD: ${POSTGRES_PASSWORD}
            DATABASE_USERNAME: ${DATABASE_USERNAME}
            DATABASE_PASSWORD: ${DATABASE_PASSWORD}
            FUSIONAUTH_APP_MEMORY: ${FUSIONAUTH_APP_MEMORY}
            FUSIONAUTH_APP_RUNTIME_MODE: development
            FUSIONAUTH_APP_URL: http://fusionauth:9011
            SEARCH_TYPE: database
      
          networks:
            - auth-db
          restart: unless-stopped
          ports:
            - "9011:9011"
          volumes:
            - fa_config:/usr/local/fusionauth/config
      
      networks:
        auth-db:
          driver: bridge
      
      volumes:
        db_data:
        fa_config:
      
      

      What is the use case?
      During integration testing I would like to have set up all infrastructure services automatically using single shell script. In such tests I would test registration of user account, but for it I need to confirm email address using Mailcatcher.

      posted in Comments & Feedback
      S
      skocur10