services:
    app:
        restart: unless-stopped
        build:
            context: .
        env_file:
            - ./.env
        volumes:
            - ./src/:/app/src/
            - ./config/:/app/config/
            - ./storage/:/app/storage/
            - ./public/:/app/public/
        ports:
            - '8080:8080'
        logging:
            driver: 'json-file'
            options:
                max-size: '50m'
#        networks:
#            - web
#networks:
#    web:
#        external: true
#        name: web
