Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
README.md 488 B
Newer Older
  • Learn to ignore specific revisions
  • Andrei Patrascu's avatar
    Andrei Patrascu committed
    # docker-compose
    
    
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    ## Usage
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    ### Production
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    Create `.env` environment file for docker compose as in `.env.example`
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    Run:
    ```
    docker compose up
    
    ```
    
    ### Development
    
    For development, you'll have to run the `docker-composer-dev.yml` defined in each project and stop the respective container from `seta-compose` namespace.
    
    ### Test
    
    Create `.env.test` environment file for docker compose as in `.env.example`
    
    Run:
    ```
    
    docker compose -f docker-compose-test.yml --env-file .env.test up
    
    Andrei Patrascu's avatar
    Andrei Patrascu committed
    ```